commit | 8b718bb6b77d4c460d4f4e9a1c08621ce1cfa1f0 | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisheriI@google.com> | Thu Aug 22 12:18:35 2013 -0700 |
committer | Marc Fisher <fisheriI@google.com> | Thu Aug 22 12:18:35 2013 -0700 |
tree | 2dc27dfcccc3b15e190edecd02b239c8c6b915e6 | |
parent | 8504be0c7e98f75857fb82d35086a501844703c8 [diff] | |
parent | 3b6aef8640c7731ab697adfe26d6cf75da3d214e [diff] |
Merge pull request #12 from jleyba/master Account for WebDriver protocol change when creating a new session.
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/webdriver.dart';
To run the tests, you need to first run selenium-server-standalone, which you can download from https://code.google.com/p/selenium/downloads.