commit | e1e674200cfd8cf8865d182b36f3580c943bd90f | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Fri Jan 30 10:36:45 2015 -0800 |
committer | Marc Fisher <fisherii@google.com> | Fri Jan 30 10:36:45 2015 -0800 |
tree | 27319a64766b9797f9e8de6696bc897e9c360049 | |
parent | 53db428677039cb65d6a7dbd2a2703199dd4b6e2 [diff] | |
parent | bca3e3c73883dd3fdeb1f86c9bece0aba921d09e [diff] |
Merge pull request #34 from DrMarcII/master Fixes for window_test
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.