2

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but failed to achieve the same with Remote Web Driver class. If anybody worked around it, please let me know.

gardo
3252 silver badges14 bronze badges
asked Jun 29, 2015 at 12:55

1 Answer 1

-1

Are you creating object for the RemoteWebdriver class and setting the capablities for the firefox browser and chrome browser, on which you want to run the tests?

Ex:

RemoteWebDriver driver=new RemoteWebDriver();
capability = DesiredCapabilities.firefox();

Pass the capability object to the driver.

Gryu
1811 silver badge14 bronze badges
answered Jul 1, 2015 at 10:49
2
  • Hello SaiKrishna, Thanks for your answer . I am getting the following exception org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : Capabilities [{platform=ANY, javascriptEnabled=true, browserName=chrome, version=8}] Build info: version: '2.45.0', revision: '32a636c', time: '2015年03月05日 22:01:35' Commented Jul 2, 2015 at 5:29
  • Are you sure that chrome version is 8? Commented Jul 31, 2015 at 12:48

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.