commit | 40af80536be4960721a04a8390b96d8e57dba459 | [log] [tgz] |
---|---|---|
author | staats-google <staats@google.com> | Thu Jun 15 16:10:40 2017 +0200 |
committer | GitHub <noreply@github.com> | Thu Jun 15 16:10:40 2017 +0200 |
tree | 065600b7f018781be46597acf3d31db9f45e8908 | |
parent | 70f9631663054bf514671e7c8b0853f31ff36701 [diff] |
Updates cookies test to run against Firefox. (#161) * Refactor command_processor to be defined at driver creation time. Allows separate command processors for different specs. * Updates cookies test to work with W3C spec/Firefox. Works around bug related to expiry dates in Marionnette.
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 ...