diff --git a/README.md b/README.md index 56608853..6b336aff 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ For a nicer interface and better support consider using: Installing ---------- - 1. Depend on it Add this to your package's pubspec.yaml file: diff --git a/lib/src/alert.dart b/lib/src/alert.dart index aceac00d..bf46a289 100644 --- a/lib/src/alert.dart +++ b/lib/src/alert.dart @@ -1,6 +1,5 @@ part of webdriver; - /// A JavaScript alert(), confirm(), or prompt() dialog class Alert extends _WebDriverBase { /** @@ -9,7 +8,6 @@ class Alert extends _WebDriverBase { */ final String text; - Alert._(this.text, prefix, commandProcessor) : super(prefix, commandProcessor); diff --git a/lib/src/capabilities.dart b/lib/src/capabilities.dart index 1c92faa1..85f910bb 100644 --- a/lib/src/capabilities.dart +++ b/lib/src/capabilities.dart @@ -27,7 +27,6 @@ class Capabilities { ..[VERSION] = '' ..[PLATFORM] = Platform.ANY; - static Map get firefox => empty ..[BROWSER_NAME] = Browser.FIREFOX ..[VERSION] = '' diff --git a/lib/src/command_processor.dart b/lib/src/command_processor.dart index 6fb4c5fe..4345235c 100644 --- a/lib/src/command_processor.dart +++ b/lib/src/command_processor.dart @@ -116,11 +116,9 @@ class CommandProcessor { Future get(String extraPath) => _serverRequest('GET', _command(extraPath)); - Future post(String extraPath, [params]) => _serverRequest('POST', _command(extraPath), params: params); - Future delete(String extraPath) => _serverRequest('DELETE', _command(extraPath)); diff --git a/lib/src/keys.dart b/lib/src/keys.dart index 38919b85..37d669ee 100644 --- a/lib/src/keys.dart +++ b/lib/src/keys.dart @@ -57,4 +57,4 @@ class Keys { static const String F12 = '\uE03C'; static const String COMMAND = '\uE03D'; static const String META = COMMAND; -} \ No newline at end of file +} diff --git a/lib/src/web_driver.dart b/lib/src/web_driver.dart index a0a3eea2..4152c12d 100644 --- a/lib/src/web_driver.dart +++ b/lib/src/web_driver.dart @@ -131,7 +131,6 @@ class WebDriver extends _WebDriverBase implements SearchContext { } }); - TargetLocator get switchTo => new TargetLocator._(_prefix, _commandProcessor); diff --git a/lib/src/window.dart b/lib/src/window.dart index f99ba954..c8a55d8a 100644 --- a/lib/src/window.dart +++ b/lib/src/window.dart @@ -1,6 +1,5 @@ part of webdriver; - class Window extends _WebDriverBase { Window._(windowHandle, prefix, commandProcessor) diff --git a/pubspec.yaml b/pubspec.yaml index 2721fb2f..ce2c7916 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: webdriver -version: 0.8.7 +version: 0.8.8 author: Dart Team description: > Provides WebDriver bindings for Dart. These use the WebDriver JSON interface, @@ -8,7 +8,7 @@ homepage: https://github.com/google/webdriver.dart environment: sdk: '>=1.0.0 <2.0.0' dependencies: - crypto: '>=0.8.7' + crypto: '>=0.8.7 <0.10.0' dev_dependencies: - path: '>=0.8.7' - unittest: '>=0.8.7' + path: '>=1.0.0 <2.0.0' + unittest: '>=0.8.7 <0.12.0'