commit | b42f8701ff6f4ceb0af2879a83b16090313fee3f | [log] [tgz] |
---|---|---|
author | Marc Fisher II <fisherii@google.com> | Mon Feb 02 13:01:52 2015 -0800 |
committer | Marc Fisher II <fisherii@google.com> | Mon Feb 02 13:01:52 2015 -0800 |
tree | a5d8934d1d3c81cfb92bdbbb785412ee6910c70e | |
parent | f728fe2d32331b7a67a52cb6ed48e3adbd9f38b0 [diff] |
Move waiting and locking functionality into a separate importable library.
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.