How can I execute Selenide in Chrome using ChromeDriver

后端 未结 5 2165
甜味超标
甜味超标 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:18

    Try this

    System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver");
    System.setProperty("selenide.browser", "Chrome");
    open("http://google.com");
    

    You can find some documentation here.

提交回复
热议问题