Skip to content

Send_keys fails to send left parenthesis in Firefox in some cases #674

@csims

Description

@csims

Using the Ruby bindings with Firefox 38.0.5 and selenium-webdriver gem version 2.46.2, I'm unable to send left parentheses in some cases (ex: on google.com it works, on webjet.com it doesn't). I've reproduced the issue in Windows 7 64-bit and OS X 10.10.3, and with Ruby 1.9.3 and 2.2.2, with the below example test case, which worked with selenium-webdriver -v 2.44 and Firefox 33 (before native events went away):

require 'selenium-webdriver'
browser = Selenium::WebDriver.for :firefox
browser.navigate.to "http://webjet.com"
element = browser.find_element(:id, 'CityTo')
element.send_keys "(BOS)"

Expected: text field should fill with "(BOS)"
Actual: text field fills with "BOS)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions