commit | 0cd94fa91d521850abb25c5963195fb5d5f8c21e | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Tue Jan 31 00:45:50 2017 -0800 |
committer | staats-google <staats@google.com> | Tue Jan 31 09:45:50 2017 +0100 |
tree | 2d5328fad4830107254179ccc382c7228b444ab3 | |
parent | 697905ad10a5e8d1dacc7ef71a6f441044cf6392 [diff] |
Prep for 1.2.3 release. (#142) * Prep for 1.2.3 release. - Update version number in pubspec. - Update dependency versions in repositories.bzl and WORKSPACE. * Update CHANGELOG.md
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 ...