-
Notifications
You must be signed in to change notification settings - Fork 115
JSON Format
Zarkonnen edited this page Apr 10, 2012
·
9 revisions
The Selenium 2 script format is intended to bridge between the strict list of steps in Selenium 1 and the Selenium 2 API. Selenium 2 script files are JSON files composed of a list of steps, such as "get" or "clickElement" which have named parameters. Here is a simple example:
{
"seleniumVersion": "2",
"formatVersion": 1,
"steps": [
{
"type": "get",
"url": "http://www.sebuilder.com/"
},
{
"type": "verifyTextPresent",
"text": "Open Source Software"
}
]
}
The list of available commands and their parameters is still amenable to change. The most up to date list is currently available from here.
- locators
- versioning policy