commit | 36ffb0d208426174ba50c8a842f483de03c8625c | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Thu Jan 29 14:49:50 2015 -0800 |
committer | Marc Fisher <fisherii@google.com> | Thu Jan 29 14:49:50 2015 -0800 |
tree | b38078e546b34bb16634790180f6e706c226db16 | |
parent | ed599e5e4c55b40220b36a50b017fd156a9af550 [diff] | |
parent | 2b44826092e3c31f975ebaef2207acf81a5f09af [diff] |
Merge pull request #33 from DrMarcII/master Major rewrite of async WebDriver
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.