// I have a problem with the XPath in this line File "_instagram.py", line 27, in getFollowers
self.browser.find_element_by_xpath("//*[@id='react-root\
我正在使用Python3.10,我正在尝试使用Selenium登录Twitter。我无法获得输入按钮来输入我的用户。看来selenium文档已经改变了。我找不到一个好的例子。This is the code I try:
from selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keys # not sure
下面是代码:from selenium.webdriver.common.keys import Keys
for x in range(1,10):
button_like = webdriver.find_element_by_xpath('//*[@id="react-root/Versions/3.7/lib