commit | aca8308a9af9da23e28e6e01e71cbb56876770a1 | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Fri Jan 30 23:36:31 2015 -0800 |
committer | Marc Fisher <fisherii@google.com> | Fri Jan 30 23:36:31 2015 -0800 |
tree | 588c1af6ed74ac68813019e4e95f9830132bb9d7 | |
parent | 38b1ef818d566fabf42ffbec6d3e38a7776d4ead [diff] | |
parent | d4541f3fde29a8d15c165643e0b10e757ad7d92a [diff] |
Merge pull request #1 from devoncarew/window_test fix window maximize test on mac
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.