This repository defines a set of conformance tests for the W3C web browser automation specification known as WebDriver. The purpose is for the different driver implementations to be tested to determine whether they meet the recognized standard.
WD_BROWSER=chrome python runtests.py
To be run a specific test file you can just run
Similarly you can specify a different browser to run against if in webdriver.cfg:
WD_BROWSER=chrome python ecmascript/ecmascript_test.py
Note: that you will need likely need to start the driver's server before running.
The webdriver.cfg file holds any configuration that the tests might require. Change the value of browser to your needs. This will then be picked up by WebDriverBaseTest when tests are run.
Be sure not to commit your webdriver.cfg changes when your create or modify tests.