标签: webscarab

单击Selenium + Python无法滚动到视图中的链接的方式是什么?

如果我的代码是这样的话:

x=driver.find_element_by_xpath("""//*[@id="react-root"]/section/main/article/div[1]/div/div/div[1]/div[2]/a""")
x.click()
Run Code Online (Sandbox Code Playgroud)

但是,发生此错误:

selenium.common.exceptions.ElementNotInteractableException: Message: Element <a href="/p/BgEcF34Fqf6/?tagged=fast"> could not be scrolled into view
Run Code Online (Sandbox Code Playgroud)

请问你能帮帮我吗?

selenium xpath href python-3.x webscarab

2
推荐指数
1
解决办法
3605
查看次数

Git和WebScarab安装

我需要安装WebScarab但我不知道git是什么以及如何使用git安装它.任何人都可以解释我,如何从Git安装最新的WebScarab.链接:http://dawes.za.net/gitweb.cgi

git github webscarab

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

webscarab ×2

git ×1

github ×1

href ×1

python-3.x ×1

selenium ×1

xpath ×1