标签: java selenium selenium-chromedriver webautomation
我们如何使用Java在Selenium中使用浏览器的现有会话?我已经运行了Tarun给出的代码
https://www.google.com/url?q=https://web.archive.org/web/20171214043703/http://tarunlalwani.com/post/reusing-existing-browser-session-selenium-java/&sa=D&source=hangouts&ust=1545991660349000&usg=AFQjCNFurLqPZAAIed0gVgXGlaQvAztPJw
使用上面的代码显示以下错误:
"Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property"