【问题标题】:Instagram BOT with Python Selenium使用 Python Selenium 的 Instagram BOT
【发布时间】:2020-06-09 19:06:16
【问题描述】:

它怎么能每 1 秒按一次“关注”按钮 - http://prntscr.com/r7o9d6

尝试这个但不起作用:

self.driver.find_element_by_xpath("//button[contains(text(), 'Follow')]")\
.click()
sleep(1)

谢谢!

【问题讨论】:

    标签: python selenium instagram bots


    【解决方案1】:

    你需要导入时间,然后是time.sleep(1)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-06-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-01
      • 1970-01-01
      • 2018-12-29
      • 1970-01-01
      相关资源
      最近更新 更多