Updating prebuilt Firefox native event libraries for Windows
Get rid of a few Ruby warnings

Fixes issue 8027
Fixes issue 8028
Escape characters commonly used in CSS selectors that can be used literally in element IDs.
This ensures that querySelectorAll('#' + id) works when id has special characters in it.
Fixes issue 8005

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
Modify test to expect that Chrome 39+ will not select a radio button when its handler prevents the default action. This behavior was changed in Blink a few weeks ago:
  http://src.chromium.org/viewvc/blink?view=revision&revision=182034

Remove obsolete code for Firefox versions 11 and lower, which are now unsupported.

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
If JsonParser.parse() fails to parse a string obtained from a reflective call to a toJson() method, assume it is a primitive string.

This is the case for, e.g., FirefoxProfile.toJson(), which returns a base64-encoded zip file. That string likely contains at least one '/', which the Gson parser rejects.

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
trim() HTTP response content because some drivers send back a response containing trailing null bytes, which the GSON parser does not like.

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
Remove obsolete ChromeOptions code.

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
Remove unused static import of Ignore.Driver.HTMLUNIT.

Signed-off-by: Seva Lotoshnikov <vlotoshnikov@gmail.com>
Adapt Marionette atoms so they can be used with Cu.import without designated scope
Log stacktrace

Adds more info on catch to be put into the log instead of just
console.  This will help debug issues when one has access to grid
hub log but no access to console.

Removes now superfluous t.printStackTrace().

Signed-off-by: Andreas Tolfsen <ato@mozilla.com>
Removing deprecated classes
Oops! Undo unwanted change that was included in the previous commit by mistake
Don't include selenium-server-standalone.jar into selenium-server.zip
Using JsonNull.INSTANCE instead of null
Using asMap as well as toMap to convert an object to Json
Moving proxy management stuff to the server, it is used in RC browser launchers only
Moving tests too
Adding common conditions for explicit waits in WebDriverJS

Similar in concept to ExpectedConditions from Java:

    driver.wait(until.elementLocated(By.id('foo'), 2000)
        .then(function(el) { el.click(); });
    driver.wait(until.titleIs('Hello, world!'), 5000);

Fixes issue 5855
Fix wait error messages.
Moving more RC stuff to the server