webdriver 2.0.0-beta+1 webdriver: ^2.0.0-beta+1 copied to clipboard
Provides WebDriver bindings for Dart. These support the WebDriver JSON interface and the W3C spec and require the use of the WebDriver remote server.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add webdriver
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
webdriver: ^2.0.0-beta+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:webdriver/async_core.dart';
import 'package:webdriver/async_io.dart';
import 'package:webdriver/core.dart';
import 'package:webdriver/html.dart';
import 'package:webdriver/io.dart';
import 'package:webdriver/support/async.dart';
import 'package:webdriver/support/firefox_profile.dart';
import 'package:webdriver/support/forwarder.dart';
import 'package:webdriver/support/stdio_stepper.dart';
import 'package:webdriver/sync_core.dart';
import 'package:webdriver/sync_io.dart';