from selenium import webdriver
import sys
import os
cwd = os.getcwd()
driver= webdriver.Remote(desired_capabilities=webdriver.DesiredCapabilities.CHROME,command_executor='http://127.0.0.1:4444')
driver.get('http://www.google.com')
错误:
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
这个程序之前可以正常工作,但现在无法运行。因此我认为这是系统错误。(OSX 10.13.4)