All Projects → google → Webdriver.dart

google / Webdriver.dart

Licence: apache-2.0
Dart WebDriver client

Programming Languages

dart
5743 projects

Labels

Projects that are alternatives of or similar to Webdriver.dart

Karma Event Driver Ext
use webdriverio like api in browser with karma lol
Stars: ✭ 17 (-83.33%)
Mutual labels:  webdriver
Googlemeetbot
A simple Google meet bot so the bot can attend classes for you.
Stars: ✭ 49 (-51.96%)
Mutual labels:  webdriver
Rules webtesting
Bazel rules to allow testing against a browser with WebDriver.
Stars: ✭ 70 (-31.37%)
Mutual labels:  webdriver
Wdio Workshop
WebdriverIO Workshop
Stars: ✭ 20 (-80.39%)
Mutual labels:  webdriver
Memedensity
CLI tool to let you know amount of memes in facebook feed.
Stars: ✭ 44 (-56.86%)
Mutual labels:  webdriver
Webdriver Rust
Library implementing the wire protocol for the W3C WebDriver standard.
Stars: ✭ 56 (-45.1%)
Mutual labels:  webdriver
Webdriverio
Next-gen browser and mobile automation test framework for Node.js
Stars: ✭ 7,214 (+6972.55%)
Mutual labels:  webdriver
Protractor
E2E test framework for Angular apps
Stars: ✭ 8,792 (+8519.61%)
Mutual labels:  webdriver
Arquillian Extension Drone
Arquillian Drone provides a simple way to write functional tests for web apps. Drone brings the power of WebDriver into the Arquillian, and the power of Arquillian to WebDriver.
Stars: ✭ 45 (-55.88%)
Mutual labels:  webdriver
Marionette
A Racket library that lets you control Firefox via the Marionette Protocol.
Stars: ✭ 64 (-37.25%)
Mutual labels:  webdriver
Marionette client
Mozilla's Gecko Marionette client in golang
Stars: ✭ 21 (-79.41%)
Mutual labels:  webdriver
Edge Selenium Tools
An updated EdgeDriver implementation for Selenium 3 with newly-added support for Microsoft Edge (Chromium).
Stars: ✭ 41 (-59.8%)
Mutual labels:  webdriver
Java.appium
Mobile test automation using Appium in Java
Stars: ✭ 59 (-42.16%)
Mutual labels:  webdriver
E2e Experiment
A demo project with Spring Boot / Angular application and e2e tests
Stars: ✭ 9 (-91.18%)
Mutual labels:  webdriver
Cabbie
WebDriver for the masses
Stars: ✭ 70 (-31.37%)
Mutual labels:  webdriver
Selendroid
"Selenium for Android" (Test automate native or hybrid Android apps and the mobile web with Selendroid.) Join us on IRC #selendroid on freenode. Also confirm you have signed the CLA http://goo.gl/pAvxEI when making a Pull Request.
Stars: ✭ 828 (+711.76%)
Mutual labels:  webdriver
Python web framework
这是一个关于python的WebUI自动化测试的项目,之前用的是unittest测试框架,现在改成pytest测试框架,Python+PageObject+Pytest
Stars: ✭ 49 (-51.96%)
Mutual labels:  webdriver
Webdriverextensions
Make your WebDriver based Selenium tests more readable, reusability and maintainable by using WebDriver Extensions!
Stars: ✭ 89 (-12.75%)
Mutual labels:  webdriver
Xebium
Xebium provides Selenium (webdriver) bindings for FitNesse, with Selenium-IDE support
Stars: ✭ 73 (-28.43%)
Mutual labels:  webdriver
Tib
Easy e2e browser testing in Node
Stars: ✭ 64 (-37.25%)
Mutual labels:  webdriver

pub package

Provides WebDriver bindings for Dart. These use the WebDriver JSON interface, and as such, require the use of the WebDriver remote server.

In your Dart code, you can use:

import 'package:webdriver/io.dart';

WebDriver driver = createDriver(...);

This will use by default the asynchronous, JSON wire spec implementation. You now can also use a synchronous version of WebDriver:

import 'package:webdriver/sync_io.dart';

final driver = createDriver(...);

This version of WebDriver supports both the JSON wire spec and W3C spec, allowing use with modern versions of Firefox. This defaults to the JSON wire spec, but can also be configured to use the W3C spec or even to try and automatically infer the spec during session creation:

final w3cDriver = createDriver(spec: WebDriverSpec.W3c);  // Use W3C spec.

final anyDriver = createDriver(spec: WebDriverSpec.Auto); // Infer spec.

Testing

Unfortunately using bazel with Dart libraries and Dart WebDriver is not yet supported. We hope to add this at some point, but for now pub still works.

As a consequence, running tests is a bit more complicated than we'd like:

  1. Launch a WebDriver binar(ies).

    First, bring up chromedriver / geckodriver. Other conforming WebDriver binaries should work as well, but we test against these:

    chromedriver --port=4444 --url-base=wd/hub --verbose
    geckodriver --port=4445
    

    ChromeDriver is used to test our JSON wire spec implementation, and geckodriver is used to test our W3C spec implementation.

    Synchronous tests are labeled as Chrome/Firefox. All async tests run exclusively against Chrome (as async, like ChromeDriver supports only the old JSON wire spec).

  2. Run a test. All files suffixed with '_test.dart' are tests.

    pub run test/path/to/test.dart -r expanded -p vm
    

    Or to run all tests:

    pub run test -r expanded -p vm
    

    You should probably go get a coffee or something, this is gonna take a while.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].