Webdriver manager and helper for WordPress. Most of the good stuff were shamelessly copied from wp-e2e-tests. Thanks to wp-e2e-tests authors and contributors for providing the foundation!
This package provides WebDriver manager and helper to help you test WordPress site.
chromedriverwhich can be downloaded from here. Make sure
chromedriveris available in your
$PATH. This package is tested with version 2.25 and it's recommended to use that version. From our experience each version has different behaviours and outcomes. Tests for this package are written using
npm install wp-e2e-webdriver
;const manager = 'chrome' ;const driver = manager;driver;helper;
The reason we pulled out manager and helper from wp-e2e-tests so that following dependents can use that: