commit | 5c7554505ff66a46f8126575db1ddec6cc84f1a3 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Mon Feb 02 10:52:31 2015 -0800 |
committer | Devon Carew <devoncarew@google.com> | Mon Feb 02 10:52:31 2015 -0800 |
tree | be10bc6c01659abcd0b624519ead3225c43b58ba | |
parent | 9024f47e9525586042086632f8020078566b92ea [diff] | |
parent | d3fd7d932a034cc52a65956d306e7945ede15205 [diff] |
Merge pull request #1 from DrMarcII/patch-1 skip window maximize test by default
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.