Merge pull request #46 from DrMarcII/master

Dependency cleanup.
tree: 92af96b242dab68bdfa1ce9af4f036cec7c61e4e
  1. lib/
  2. test/
  3. tool/
  4. .gitignore
  5. .travis.yml
  6. AUTHORS
  7. LICENSE
  8. PATENTS
  9. pubspec.yaml
  10. README.md
README.md

webdriver

Build Status

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

Installing

  1. 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.

  2. 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
    
  3. Import it

    Now in your Dart code, you can use:

    import 'package:webdriver/webdriver.dart';
    

Testing

To run the tests, you need to first run selenium-server-standalone, which you can download from https://code.google.com/p/selenium/downloads.