Hi All,
I am new using selenium-webdriver. Using Testwise , selenium-webdriver, RSpec to trying to automate http://store.apple.com/us/buy-ipad/ipad-air-2 site
basically the combination of Finish, Storage and Connectivity and verifying the summary generated.
@browser.find_element(:id, "Item1silver").click
@browser.find_element(:id, "Item216gb").click
@browser.find_element(:id, "Item3wifi").click
Summary i get would be : iPad Air 2 Wi-Fi 16GB - Silver
_______________________________________________________________________________________________________
Problem is, i am sucessfully able to run the script on FireFox, but when i run the same on Chrome i get following error
F
Failures:
1) Test Suite New Test Case
Failure/Error: @browser.find_element(:id, Item1silver).click
Selenium::WebDriver::Error::UnknownError:
unknown error: Element is not clickable at point (712, 406). Other element would receive the click:
...
(Session info: chrome=39.0.2171.95)
(Driver info: chromedriver=2.13.307647 (5a7d0541ebc58e69994a6fb2ed930f45261f3c29),platform=Windows NT 6.1 SP1 x86)
is there any better way than browser.find_element that i can use so that the script runs on both FireFox as well as Chrome.
Please let me know. Thanks in advance
M.K.Mohan