author | Andreas Tolfsen <ato@sny.no> |
Thu, 12 Oct 2017 12:54:26 +0100 | |
changeset 385906 | 6aff814fd34ebd5abc0d529fbafe82215d80b827 |
parent 385905 | 06b1a22c5e62698313092c6b5e049adfe1abcfdc |
child 385907 | c0319b34525352fdf9fcaf26e0a9210fd37afe52 |
push id | 32672 |
push user | archaeopteryx@coole-files.de |
push date | Fri, 13 Oct 2017 09:00:05 +0000 |
treeherder | mozilla-central@3efcb26e5f37 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | maja_zf |
bugs | 1407969 |
milestone | 58.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
|
--- a/testing/geckodriver/doc/TraceLogs.md +++ b/testing/geckodriver/doc/TraceLogs.md @@ -100,27 +100,42 @@ See the client-specific documentation be way to enable trace logs in your language. We want to expand this documentation to cover all the best known clients people use with geckodriver. If you find your language missing, please consider [submitting a patch]. [submitting a patch]: ../CONTRIBUTING.md +C# +-- + +The Selenium [C# client] comes with a [`FirefoxOptions`] helper for +constructing the [`moz:firefoxOptions`] capabilities object: + + FirefoxOptions options = new FirefoxOptions(); + options.LogLevel = FirefoxDriverLogLevel.Trace; + IWebDriver driver = new FirefoxDriver(options); + +The log output is directed to stdout. + +[C# client]: https://seleniumhq.github.io/selenium/docs/api/dotnet/ +[`FirefoxOptions`]: https://seleniumhq.github.io/selenium/docs/api/dotnet/html/T_OpenQA_Selenium_Firefox_FirefoxOptions.htm + Java ---- The Selenium [Java client] also comes with a [`org.openqa.selenium.firefox.FirefoxOptions`] helper for constructing the [`moz:firefoxOptions`] capabilities object: FirefoxOptions opts = new FirefoxOptions().setLogLevel(Level.ALL); WebDriver driver = new FirefoxDriver(opts); -The log output is helpfully propagated to stdout. +As with C#, the log output is helpfully propagated to stdout. [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 ------