【发布时间】: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 秒按一次“关注”按钮 - http://prntscr.com/r7o9d6?
尝试这个但不起作用:
self.driver.find_element_by_xpath("//button[contains(text(), 'Follow')]")\
.click()
sleep(1)
谢谢!
【问题讨论】:
标签: python selenium instagram bots
你需要导入时间,然后是time.sleep(1)
【讨论】: