Tes*_*apa 5 python ubuntu selenium vps
我对Python有一个奇怪的问题(或者我可能只是一个菜鸟).
我写了一个小机器人来使用selenium在浏览器上自动执行某些操作,我想在Ubuntu VPS上运行,所以我已经安装了Selenium和我需要的其他模块,我运行了脚本但是当涉及到第一个线
WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.ID, "free_play_captcha_types")))
driver.find_element_by_id("free_play_captcha_types").click()
driver.find_element_by_id("free_play_captcha_types").click()
driver.find_element_by_xpath("//option[contains(@value, 'recaptcha_v1')]").click()
Run Code Online (Sandbox Code Playgroud)
我收到了socket.error: errno [111] Connection refused错误.
我已经尝试在运行脚本之前运行selenium服务器但没有任何变化......有人有建议吗?
先感谢您.
另一个信息:我在不同的VPS上运行相同的脚本,它运行成功...
| 归档时间: |
|
| 查看次数: |
112 次 |
| 最近记录: |