commit | 328b019e4a6e4fdd0fa98cdd9da35e7ef15b67fd | [log] [tgz] |
---|---|---|
author | Marc Fisher <fisherii@google.com> | Fri Feb 06 11:05:00 2015 -0800 |
committer | Marc Fisher <fisherii@google.com> | Fri Feb 06 11:05:00 2015 -0800 |
tree | 0e0fbe1a2548fac55cad34d12597d99f4f11f080 | |
parent | 93313832698ead9329aa553116e2f365607e69f0 [diff] | |
parent | 2cd6230d49b98f34f5f557ad459d96d8c549d901 [diff] |
Merge pull request #43 from DrMarcII/master Delete Point class and use dart:math's Point class instead.
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.