Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: pkg/webdriver/lib/webdriver.dart

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/webdriver/lib/src/base64decoder.dart ('k') | pkg/webdriver/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('webdriver'); 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library webdriver;
6
2 #import('dart:json'); 7 #import('dart:json');
3 #import('dart:uri'); 8 #import('dart:uri');
4 #import('dart:io'); 9 #import('dart:io');
5 #import('dart:math'); 10 #import('dart:math');
6 #source('base64decoder.dart'); 11
12 part 'src/base64decoder.dart';
7 13
8 /** 14 /**
9 * WebDriver bindings for Dart. 15 * WebDriver bindings for Dart.
10 * 16 *
11 * These bindings are based on the WebDriver JSON wire protocol spec 17 * These bindings are based on the WebDriver JSON wire protocol spec
12 * (http://code.google.com/p/selenium/wiki/JsonWireProtocol). Not 18 * (http://code.google.com/p/selenium/wiki/JsonWireProtocol). Not
13 * all of these commands are implemented yet by WebDriver itself. 19 * all of these commands are implemented yet by WebDriver itself.
14 * Nontheless this is a complete implementation of the spec as the 20 * Nontheless this is a complete implementation of the spec as the
15 * unsupported commands may be supported in the future. Currently, 21 * unsupported commands may be supported in the future. Currently,
16 * there are known issues with local and session storage, script 22 * there are known issues with local and session storage, script
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 * Get the log for a given log type. Log buffer is reset after each request. 1357 * Get the log for a given log type. Log buffer is reset after each request.
1352 * Each log entry is a [Map] with these fields: 1358 * Each log entry is a [Map] with these fields:
1353 * 1359 *
1354 * 'timestamp' (int) - The timestamp of the entry. 1360 * 'timestamp' (int) - The timestamp of the entry.
1355 * 'level' (String) - The log level of the entry, for example, "INFO". 1361 * 'level' (String) - The log level of the entry, for example, "INFO".
1356 * 'message' (String) - The log message. 1362 * 'message' (String) - The log message.
1357 */ 1363 */
1358 Future<List<Map>> getLogs(String type) => 1364 Future<List<Map>> getLogs(String type) =>
1359 _post('log', params: { 'type': type }); 1365 _post('log', params: { 'type': type });
1360 } 1366 }
OLDNEW
« no previous file with comments | « pkg/webdriver/lib/src/base64decoder.dart ('k') | pkg/webdriver/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698