Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
svgs
.hgignore
00_header.html
01_introduction.html
02_commands.html
03_capabilities.html
04_sessions.html
05_navigation.html
06_controlling_windows.html
07_switching.html
08_focus.html
09_elements.html
10_element_state.html
11_ecmascript.html
12_cookies.html
13_timeouts.html
14_user_input.html
15_modal_dialogs.html
16_snapshots.html
17_non_html_content.html
18_extending_protocol.html
79_remainder.html
80_command_summary.html
Makefile
README
TR.html
TR.src.html
appendix-commandformat-footer.html
appendix-commandformat-header.html
appendix-mapping-footer.html
appendix-mapping-header.html
capabilities-footer.html
capabilities-header.html
dump-source
example-windows.png
footer.html
output_html.py
respec-w3c-common.js
security.html
threadsafety.html
webdriver-spec.html

README

This repository contains the W3 specification for Browser Automation.
The main repository is at <http://dvcs.w3.org/hg/webdriver/> and there
is a mirror of this repository at
<https://github.com/AutomatedTester/W3-BrowserAutomation>.


Generating the specification

The webdriver-spec.html is generated by executing:

    make

The numbers at the start of each file corresponds to sections in the
spec.


Validating the specification

To validate the specification you need to first set up a number of
dependencies on your system:

  * Selenium Python package <https://pypi.python.org/pypi/selenium>
    Available from PyPI as selenium.

  * linkchecker <https://dvcs.w3.org/hg/link-checker/>
    On Debian/Ubuntu this is available as the w3c-linkchecker package.

  * An implemenation of Java 1.6 or newer

  * curl <http://curl.haxx.se/>
    On Debian/Ubuntu this is available as the curl package.

All of these programs must be available on your PATH for validation to
succeed.

To validate the specification set the BROWSER environmental variable
to your favourite WebDriver supported browser and call the `validate'
target as such:

    BROWSER=firefox make validate

Available browsers are firefox, chrome, ie, and opera.