Merge pull request #32 from devoncarew/devoncarew_upgrade
Devoncarew upgrade
diff --git a/README.md b/README.md
index 5660885..6b336af 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,6 @@
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 aceac00..bf46a28 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 @@
*/
final String text;
-
Alert._(this.text, prefix, commandProcessor)
: super(prefix, commandProcessor);
diff --git a/lib/src/capabilities.dart b/lib/src/capabilities.dart
index 1c92faa..85f910b 100644
--- a/lib/src/capabilities.dart
+++ b/lib/src/capabilities.dart
@@ -27,7 +27,6 @@
..[VERSION] = ''
..[PLATFORM] = Platform.ANY;
-
static Map<String, dynamic> get firefox => empty
..[BROWSER_NAME] = Browser.FIREFOX
..[VERSION] = ''
diff --git a/lib/src/command_processor.dart b/lib/src/command_processor.dart
index 6fb4c5f..4345235 100644
--- a/lib/src/command_processor.dart
+++ b/lib/src/command_processor.dart
@@ -116,11 +116,9 @@
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 38919b8..37d669e 100644
--- a/lib/src/keys.dart
+++ b/lib/src/keys.dart
@@ -57,4 +57,4 @@
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 a0a3eea..4152c12 100644
--- a/lib/src/web_driver.dart
+++ b/lib/src/web_driver.dart
@@ -131,7 +131,6 @@
}
});
-
TargetLocator get switchTo =>
new TargetLocator._(_prefix, _commandProcessor);
diff --git a/lib/src/window.dart b/lib/src/window.dart
index f99ba95..c8a55d8 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 2721fb2..ce2c791 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: webdriver
-version: 0.8.7
+version: 0.8.8
author: Dart Team <misc@dartlang.org>
description: >
Provides WebDriver bindings for Dart. These use the WebDriver JSON interface,
@@ -8,7 +8,7 @@
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'