commit | 83182b606d3dad52877d018361207a6962535d9f | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Tue Jan 27 12:52:01 2015 -0800 |
committer | Marc Fisher <fisherii@google.com> | Tue Jan 27 12:52:01 2015 -0800 |
tree | ae4c99bdfe5d38fb8d83341f98c0b4ca02041bc1 | |
parent | c9b13af587fe1c85436fb614a6ddbdafb18f6851 [diff] | |
parent | 329357cb06b111c48e94d38b28dc9c017532132b [diff] |
Merge pull request #30 from devoncarew/devoncarew_update update repo; fix analysis issues
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.