follow me icons

Monday, July 2, 2012

Webdriver can't click element in IE

The issue that I have is that the capybara/selenium webdriver method of click element does not seem to work in IE.
  find(:css, ".submit").click #does not seem to click the element in IE
This method works fine in other browsers like FF. When I try to just find the element by using the
  find(:css, ".submit")
  it can return this:  #<Capybara::Element tag="input">
Apparently this is because I accidentally change the zoom level in Internet Explorer. To fix this issue simply set the zoom level to be 100%.

1 comment:

  1. This method works fine in other browsers like FF. When I try to just find the element by using the
    find(:css, ".submit")
    it can return this: #

    ReplyDelete