我正在使用
Mozilla Firefox 59.0.2
Ubuntu 18.04
geckodriver 0.23.0(2018-10-04)
硒'3.141.0'
driver = webdriver.Firefox(profile,executable_path="/usr/local/bin/geckodriver", log_path="/home/user/Project/geckodriver.log",firefox_options=firefoxOptions)
当我执行它时,出现以下错误消息:
/ p消息中的WebDriverException:连接被拒绝