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.
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?
RemoteWebDriver driver=new RemoteWebDriver(); capability = DesiredCapabilities.firefox();
Pass the capability object to the driver.