Is it possible to set chrome webdriver file as URL?
问题 I have this code to set system properties: System.setProperty("webdriver.chrome.driver", "src\\main\\resources\\driver\\chromedriver.exe"); Is it possible to store chromedriver executable within GitHub and use it in different projects? Something like this: System.setProperty("webdriver.chrome.driver", "https://path_to_file/chromedriver.exe"); 回答1: The open source WebDriverManager may be the closest solution to what you are asking for. WebDriverManager.chromedriver().setup(); WebDriver driver