commit | 9893d410203834b6ca6b0eedddd4452c7d4f4fa6 | [log] [tgz] |
---|---|---|
author | Marc Fisher II <fisherii@google.com> | Fri Jan 30 14:45:58 2015 -0800 |
committer | Marc Fisher II <fisherii@google.com> | Fri Jan 30 14:45:58 2015 -0800 |
tree | 9fe0695d5879f3e0c342fa742ae00be77df4139c | |
parent | ee2769ecb55f133618077633f2a4005ac900523b [diff] | |
parent | 68925ba9bd35b914fcb99051ad49c089d9adfca4 [diff] |
Merge branch 'master' of https://github.com/google/webdriver.dart
Provides WebDriver bindings for Dart. These use the WebDriver JSON interface, and as such, require the use of the WebDriver remote server.
For a nicer interface and better support consider using: https://github.com/google/dart-sync-webdriver
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.