commit | 3cacab9f3849eeb02e60969c37a98c63a3c91b00 | [log] [tgz] |
---|---|---|
author | staats-google <staats@google.com> | Tue Jun 20 09:05:46 2017 +0200 |
committer | GitHub <noreply@github.com> | Tue Jun 20 09:05:46 2017 +0200 |
tree | afa19ab3d79f38f1be0b2a8cc03bdb64729bcfe3 | |
parent | 9db2f61f0396e45dcffcfb20d5dc688e73316388 [diff] |
Updates window test and window to work with W3c spec. (#166)
Provides WebDriver bindings for Dart. These use the WebDriver JSON interface, and as such, require the use of the WebDriver remote server.
Depend on it
Add this to your package's pubspec.yaml file:
dependencies: webdriver: any
If your package is an application package you should use any as the version constraint.
Install it
If you're using the Dart Editor, choose:
Menu > Tools > Pub Install
Or if you want to install from the command line, run:
$ pub install
Import it
Now in your Dart code, you can use:
import 'package:webdriver/io.dart'; WebDriver driver = createDriver(...);
You can run the tests either with bazel (only supported on Linux).
bazel test ...