WebDriverException: Message: unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot find execution context with given id"}
原因:
1.chromedrive.exe没指名路径或者没有放到该文件夹之下
2.url格式有错,我写的是‘www.amazon.com’报错,应该是‘https://www.amazon.com/’
WebDriverException: Message: unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot find execution context with given id"}
原因:
1.chromedrive.exe没指名路径或者没有放到该文件夹之下
2.url格式有错,我写的是‘www.amazon.com’报错,应该是‘https://www.amazon.com/’