Bug 1519925 - [geckodriver] Fix trace log documentation for options in Selenium Python binding. r=me
authorHenrik Skupin <mail@hskupin.info>
Tue, 15 Jan 2019 11:28:08 +0100
changeset 513907 c09f185978f44ad4d80842dfcb8e4848d516cfb9
parent 513906 fd4be420c44fd529177030a2ca02ed8686b5c742
child 513908 efcdc02cdf58d06110612cdd6a765fd828180bf2
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1519925
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1519925 - [geckodriver] Fix trace log documentation for options in Selenium Python binding. r=me
testing/geckodriver/doc/TraceLogs.md
--- a/testing/geckodriver/doc/TraceLogs.md
+++ b/testing/geckodriver/doc/TraceLogs.md
@@ -135,27 +135,27 @@ As with C#, the log output is helpfully 
 
 [Java client]: https://seleniumhq.github.io/selenium/docs/api/java/
 [`org.openqa.selenium.firefox.FirefoxOptions`]: https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/firefox/FirefoxOptions.html
 
 
 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:
 
 	from selenium.webdriver import Firefox
 	from selenium.webdriver.firefox.options import Options
 
 	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.
 
 [Python client]: https://selenium-python.readthedocs.io/
 [`selenium.webdriver.firefox.options.Options`]: https://github.com/SeleniumHQ/selenium/blob/master/py/selenium/webdriver/firefox/options.py