1. org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"}

    解决办法是将get方法里的url写成带http头的就行了,如driver.get("http://www.baidu.com");不带“http://”的就会报invalid URL