Skip to content

Commit 9f04177

Browse files
shs96cAutomatedTester
authored andcommitted
Make extension capability example easier to understand
The other example contained some misleading suggestions, such as including authentication tokens for intermediary nodes in the body of the capabilities. Closes #819
1 parent 87fc501 commit 9f04177

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

webdriver-spec.html

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,30 +1723,12 @@ <h2>Protocol Extensions</h2>
17231723
<pre>{
17241724
"capabilities": {
17251725
"alwaysMatch": {
1726-
// a cloud provider’s authentication token
1727-
"sauce:token": "b448b871-a526-4634-aefc-26df6eede519",
1728-
1729-
// an <a>intermediary node</a>’s access details
1730-
"intermediary:login": {
1731-
"username": "maja",
1732-
"password": "donut"
1733-
}
1734-
},
1735-
"firstMatch": [
1736-
{
1737-
// browser specific configuration
1738-
"moz:firefoxOptions": {
1739-
"binary": "/usr/bin/firefox",
1740-
"args": ["--no-remote"],
1741-
"prefs": {
1742-
"dom.ipc.processCount": "8"
1743-
},
1744-
"log": {
1745-
"level": "trace"
1746-
}
1747-
}
1726+
// browser specific configuration
1727+
"&lt;prefix&gt;:browserOptions": {
1728+
"binary": "/usr/bin/browser-binary",
1729+
"args": ["--start-page=http://example.com"],
17481730
}
1749-
]
1731+
}
17501732
}
17511733
}</pre>
17521734
</aside>

0 commit comments

Comments
 (0)