Dart Python JavaScript HTML
Latest commit 0cd94fa Jan 31, 2017 @DrMarcII DrMarcII committed with staats-google 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

README.md

webdriver

Build Status pub package

Provides WebDriver bindings for Dart. These use the WebDriver JSON interface, and as such, require the use of the WebDriver remote server.

Installing

  1. 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.

  2. 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
    
  3. Import it

    Now in your Dart code, you can use:

    import 'package:webdriver/io.dart';
    
    WebDriver driver = createDriver(...);

Testing

You can run the tests either with bazel (only supported on Linux).

bazel test ...