@@ -189,20 +189,14 @@ def open_browser(self, url, browser='firefox', alias=None,
189
189
Then the `${options}` variable can be used as an argument to
190
190
``options``.
191
191
192
- The ``options`` argument also makes it easy to test Chomium-based
193
- applications which utilize the Chromium Embedded Framework (aka CEF)
194
- such as those created using QtWebEngine. This is accomplished
195
- using the ChromeDriver webdriver included with Selenium.
196
- All that is needed is a binary location of the application under
197
- test and a remote debugging port for ChromeDriver to interface
198
- with.
199
- (https://bitbucket.org/chromiumembedded/cef/wiki/UsingChromeDriver)
200
-
201
- Example:
202
- | `Open Browser` | browser=Chrome | options=binary_location="<path/to/binary>";add_argument("remote-debugging-port=<port>") |
203
-
204
- Once opened, the user can interact with the embedded web-content of
205
- the application under test.
192
+ Example the ``options`` argument can be used to launch Chomium-based
193
+ applications which utilize the
194
+ [https://bitbucket.org/chromiumembedded/cef/wiki/UsingChromeDriver|Chromium Embedded Framework]
195
+ . To lauch Chomium-based application, use ``options`` to define
196
+ `binary_location` attribute and use `add_argument` method to define
197
+ `remote-debugging-port` port for the application. Once the browser
198
+ is opened, the test can interact with the embedded web-content of
199
+ the system under test.
206
200
207
201
Optional ``service_log_path`` argument defines the name of the
208
202
file where to write the browser driver logs. If the
@@ -231,9 +225,10 @@ def open_browser(self, url, browser='firefox', alias=None,
231
225
Example when using
232
226
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_chrome/selenium.webdriver.chrome.options.html#selenium.webdriver.chrome.options.Options|Chrome options]
233
227
method:
234
- | `Open Browser` | http://example.com | Chrome | options=add_argument("--disable-popup-blocking"); add_argument("--ignore-certificate-errors") | # Sting format |
235
- | ${options} = | Get Options | | | # Selenium options instance |
236
- | `Open Browser` | http://example.com | Chrome | options=${options} | |
228
+ | `Open Browser` | http://example.com | Chrome | options=add_argument("--disable-popup-blocking"); add_argument("--ignore-certificate-errors") | # Sting format |
229
+ | ${options} = | Get Options | | | # Selenium options instance |
230
+ | `Open Browser` | http://example.com | Chrome | options=${options} | |
231
+ | `Open Browser` | None | Chrome | options=binary_location="/path/to/binary";add_argument("remote-debugging-port=port") | # Start Chomium-based application |
237
232
238
233
Example for FirefoxProfile
239
234
| `Open Browser` | http://example.com | Firefox | ff_profile_dir=/path/to/profile | # Using profile from disk |
0 commit comments