Set the system property " " using tProperty() in your code and then try to execute your cases on Chrome. The advantage of using this method is that you can execute your test-cases in a remote machine and this is advantageous when you want to run it on grid. WebDriver driver = new RemoteWebDriver(new URL(" capability) Start the selenium server using the following command: java =/path/to/chromedriver -jar selenium-server-standalone-2.7.0.jarĪnd in your Java code you use the chrome driver in the following way:ĭesiredCapabilities capability = DesiredCapabilities.chrome()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |