我正在关注this的在线资源,以构建一个Instagram机器人。在其中,讲师使用selenium,我通过运行以下命令安装了selenium:pip3 install selenium 然后他提到了使用ChromeDriver。我测试了它,看起来它可以工作,但是当我尝试在我的脚本中使用它时,它崩溃了,出现了一条错误消息:Error sending sync broker message: the p
我正在尝试使用selenium创建一个登录bot,当它登录时会返回一个服务器错误,我不知道这是一个内部错误还是因为我正在使用bot。import timefrom selenium.webdriver.common.by import By
from selenium.webdriver.support.uiimport WebDriv
我使用selenium和python开发了一个Instagram机器人。当我试图“喜欢”一个形象时,我正面临着问题。这是我的代码:from time import sleepfrom selenium.webdriver.common.by import By
driver = webdriver.Firefo