加上 chromeOptions.addArguments("--remote-allow-origins=*"); 即可
ChromeOptions chromeOptions = new ChromeOptions(); // 防止403 chromeOptions.addArguments("--remote-allow-origins=*"); driver = new ChromeDriver(chromeOptions);
- java-selenium Forbidden selenium Invalid Statusjava-selenium forbidden selenium invalid java-selenium chrome java-selenium chromedriver selenium java-selenium selenium页面 用户 私信java-selenium selenium用户 status_invalid_image_hash status_invalid_image_hash浏览器invalid forbidden codeforces forbidden hydrooj 10 webclient forbidden download returned