forked from mirrors/gecko-dev
Bug 1519925 - [geckodriver] Fix trace log documentation for options in Selenium Python binding. r=me
--HG-- extra : rebase_source : 94b4395dd8d0762ba9d3abcce14f5395e1e3d84c
This commit is contained in:
parent
88602869fa
commit
86d63a9376
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ As with C#, the log output is helpfully propagated to stdout.
|
|||
Python
|
||||
------
|
||||
|
||||
The Selenium [Python client] comes with an
|
||||
The Selenium [Python client] comes with a
|
||||
[`selenium.webdriver.firefox.options.Options`] helper that can
|
||||
be used programmatically to construct the [`moz:firefoxOptions`]
|
||||
capabilities object:
|
||||
|
|
@ -150,7 +150,7 @@ capabilities object:
|
|||
|
||||
opts = Options()
|
||||
opts.log.level = "trace"
|
||||
driver = Firefox(firefox_options=opts)
|
||||
driver = Firefox(options=opts)
|
||||
|
||||
The log output is stored in a file called _geckodriver.log_ in your
|
||||
script’s current working directory.
|
||||
|
|
|
|||
Loading…
Reference in a new issue