Bug 1407969 - Organise code examples alphabetically. r?maja_zf draft
authorAndreas Tolfsen <ato@sny.no>
Thu, 12 Oct 2017 12:50:11 +0100
changeset 679238 b1763a850df496db4615f71804232411a9eaeb24
parent 679173 bc7a5be76b723cf6aac1a919156e74997c5f4902
child 679239 e6c0edb835425110dee0408c731ccf0bfac9ca72
push id84158
push userbmo:ato@sny.no
push dateThu, 12 Oct 2017 12:02:28 +0000
reviewersmaja_zf
bugs1407969
milestone58.0a1
Bug 1407969 - Organise code examples alphabetically. r?maja_zf DONTBUILD MozReview-Commit-ID: C2H3k1r5gWF
testing/geckodriver/doc/TraceLogs.md
--- a/testing/geckodriver/doc/TraceLogs.md
+++ b/testing/geckodriver/doc/TraceLogs.md
@@ -100,16 +100,32 @@ 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
 
 
+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.
+
+[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
 [`selenium.webdriver.firefox.options.Options`] helper that can
 be used programmatically to construct the [`moz:firefoxOptions`]
 capabilities object:
 
@@ -136,24 +152,8 @@ generate the correct [`moz:firefoxOption
 	opts = Selenium::WebDriver::Firefox::Options.new(log_level: :trace)
 	driver = Selenium::WebDriver.for :firefox, options: opts
 
 To show the logs, set the `DEBUG=1` output variable or start your
 Ruby interpreter with the `-d` flag.
 
 [Ruby client]: http://seleniumhq.github.io/selenium/docs/api/rb/
 [`Options`]: http://seleniumhq.github.io/selenium/docs/api/rb/Selenium/WebDriver/Firefox/Options.html
-
-
-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.
-
-[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