How can I execute Selenide in Chrome using ChromeDriver

后端 未结 5 2122
甜味超标
甜味超标 2021-01-14 02:31

I started using selenide (selenium wrapper api) and must say its a great tool but my only issue is its lack of documentation or usage examples online yet.

Any idea h

5条回答
  •  感情败类
    2021-01-14 03:13

    You can use System.setProperty("selenide.browser", "chrome"); for running in the chrome browser. If the same test you need to perform in safari just change the chrome to safari. Eg:

    System.setProperty("selenide.browser", "safari"); open("http://idemo.bspb.ru/");
    

提交回复
热议问题