|author||Travis Sanderson <email@example.com>||Wed Jan 25 11:53:18 2017 -0600|
|committer||Marc Fisher <firstname.lastname@example.org>||Wed Jan 25 09:53:18 2017 -0800|
Enable generics for waitFor and require Dart 1.21+ in the pubspec SDK range (#141)
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.
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
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 ...