Skip to content

Commit

Permalink
Merge pull request #32 from devoncarew/devoncarew_upgrade
Browse files Browse the repository at this point in the history
Devoncarew upgrade
  • Loading branch information
DrMarcII committed Jan 27, 2015
2 parents 83182b6 + 4fab3ae commit ed599e5
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 13 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions lib/src/alert.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
part of webdriver;


/// A JavaScript alert(), confirm(), or prompt() dialog
class Alert extends _WebDriverBase {
/**
Expand All @@ -9,7 +8,6 @@ class Alert extends _WebDriverBase {
*/
final String text;


Alert._(this.text, prefix, commandProcessor)
: super(prefix, commandProcessor);

Expand Down
1 change: 0 additions & 1 deletion lib/src/capabilities.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class Capabilities {
..[VERSION] = ''
..[PLATFORM] = Platform.ANY;


static Map<String, dynamic> get firefox => empty
..[BROWSER_NAME] = Browser.FIREFOX
..[VERSION] = ''
Expand Down
2 changes: 0 additions & 2 deletions lib/src/command_processor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion lib/src/keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class Keys {
static const String F12 = '\uE03C';
static const String COMMAND = '\uE03D';
static const String META = COMMAND;
}
}
1 change: 0 additions & 1 deletion lib/src/web_driver.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ class WebDriver extends _WebDriverBase implements SearchContext {
}
});


TargetLocator get switchTo =>
new TargetLocator._(_prefix, _commandProcessor);

Expand Down
1 change: 0 additions & 1 deletion lib/src/window.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
part of webdriver;


class Window extends _WebDriverBase {

Window._(windowHandle, prefix, commandProcessor)
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: webdriver
version: 0.8.7
version: 0.8.8
author: Dart Team <[email protected]>
description: >
Provides WebDriver bindings for Dart. These use the WebDriver JSON interface,
Expand All @@ -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'

0 comments on commit ed599e5

Please sign in to comment.