Bug 1414221 - Update README.de for moz:webdriverClick capability. draft
authorHenrik Skupin <mail@hskupin.info>
Fri, 03 Nov 2017 11:25:21 +0100
changeset 692857 4cc126a83bde42b01ccc55c19a2cf2ac98898330
parent 692268 5a05948f281bb49710e69b04d0286ff9c5f39d85
child 738869 9550638fefa7086ae3a8bc956286b5528aaed220
push id87621
push userbmo:hskupin@gmail.com
push dateFri, 03 Nov 2017 16:51:33 +0000
bugs1414221
milestone58.0a1
Bug 1414221 - Update README.de for moz:webdriverClick capability. While the usage of this capability was optional before, it will be of help starting with Firefox 58. With this version the webdriver conformant click will be enabled by default. As fallback the legacy click should still be able to get selected, and as such the capability has to be set. DONTBUILD MozReview-Commit-ID: 1iU8FPK353N
testing/geckodriver/README.md
--- a/testing/geckodriver/README.md
+++ b/testing/geckodriver/README.md
@@ -194,20 +194,24 @@ geckodriver supports a number of [capabi
    when <code>proxyType</code> is set to <code>manual</code>.
  </tr>
 </table>
 
 
 Firefox capabilities
 ====================
 
-geckodriver also supports a capability named `moz:firefoxOptions`
-which takes Firefox-specific options.
-This must be a dictionary
-and may contain any of the following fields:
+geckodriver also supports capabilities with the `moz:` prefix, which can
+be used to define Firefox-specific capabilities.
+
+moz:firefoxOptions
+------------------
+
+A dictionary used to define options which control how Firefox gets started
+and run. It may contain any of the following fields:
 
 <table>
  <thead>
   <tr>
    <th>Name
    <th>Type
    <th>Description
   </tr>
@@ -271,16 +275,35 @@ and may contain any of the following fie
  <tr id=capability-prefs>
   <td><code>prefs</code>
   <td><a href=#prefs-object><code>prefs</code></a>&nbsp;object
   <td>Map of preference name to preference value, which can be a
    string, a boolean or an integer.
  </tr>
 </table>
 
+moz:webdriverClick
+------------------
+
+A boolean value to indicate which kind of interactability checks to run
+when performing a click on elements. For Firefoxen prior to version 58.0 some
+legacy code as imported from an older version of [FirefoxDriver] was in use.
+
+With Firefox 58 the interactability checks as required by the [WebDriver]
+specification are enabled by default. This means geckodriver will additionally
+check if an element is obscured by another when clicking.
+
+Because of this change in behaviour, we are aware that some extra errors could
+be returned. In most cases the test in question might have to be updated
+so it's conform with the new checks. But if the problem is located in
+geckodriver, then please raise an issue in the [issue tracker].
+
+To temporarily disable the WebDriver conformant checks use `false` as value
+for this capability.
+
 
 `log` object
 ------------
 
 <table>
  <thead>
   <tr>
    <th>Name
@@ -554,16 +577,17 @@ alongside _firefox-bin_.
 [Rust]: https://www.rust-lang.org/
 [Mozilla]: https://www.mozilla.org/en-US/
 [webdriver crate]: https://github.com/mozilla/webdriver-rust
 [commands]: https://docs.rs/webdriver/0.25.0/webdriver/command/index.html
 [responses]: https://docs.rs/webdriver/0.25.0/webdriver/response/index.html
 [errors]: https://docs.rs/webdriver/0.25.0/webdriver/error/enum.ErrorStatus.html
 [Marionette protocol]: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/Protocol
 [WebDriver]: https://w3c.github.io/webdriver/webdriver-spec.html
+[FirefoxDriver]: https://github.com/SeleniumHQ/selenium/wiki/FirefoxDriver
 [Marionette]: http://searchfox.org/mozilla-central/source/testing/marionette/README
 [Firefox CI]: https://treeherder.mozilla.org/
 [mozconfig]: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options
 
 
 Contact
 =======