Skip to content

Commit 1510d91

Browse files
committed
Create WebDriver example alignment fix
1 parent 9864d92 commit 1510d91

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/SeleniumLibrary/keywords/browsermanagement.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,13 @@ def create_webdriver(self, driver_name, alias=None, kwargs={},
308308
Selenium API documentation] for details about the supported arguments.
309309
310310
Examples:
311-
| # Use proxy with Firefox | | | |
312-
| ${proxy}= | `Evaluate` | selenium.webdriver.Proxy() | modules=selenium, selenium.webdriver |
313-
| ${proxy.http_proxy}= | `Set Variable` | localhost:8888 | |
314-
| `Create Webdriver` | Firefox | proxy=${proxy} | |
315-
| # Use proxy with PhantomJS | | | |
316-
| ${service args}= | `Create List` | --proxy=192.168.132.104:8888 | |
317-
| `Create Webdriver` | PhantomJS | service_args=${service args} | |
311+
| # Use proxy with Firefox | | | |
312+
| ${proxy}= | `Evaluate` | selenium.webdriver.Proxy() | modules=selenium, selenium.webdriver |
313+
| ${proxy.http_proxy}= | `Set Variable` | localhost:8888 | |
314+
| `Create Webdriver` | Firefox | proxy=${proxy} | |
315+
| # Use proxy with PhantomJS | | | |
316+
| ${service args}= | `Create List` | --proxy=192.168.132.104:8888 | |
317+
| `Create Webdriver` | PhantomJS | service_args=${service args} | |
318318
319319
Returns the index of this browser instance which can be used later to
320320
switch back to it. Index starts from 1 and is reset back to it when

0 commit comments

Comments
 (0)