无法在 selenium python 中找到一个元素

乌特卡什·辛格

两种方式都发生错误(缺少元素):

ele3=d.find_element_by_css_selector("input[name='tel'][type='data-v-094823ec']")

ele3=browser.find_element_by_xpath("//input[@placeholder='Please enter your phone number']") 

网页元素:
网页元素

沙门

对于 CSS 选择器,

input[name='tel'][type='data-v-094823ec']

应该

input[type='tel'][data-v-094823ec]

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Selenium:Python无法从elif中找到元素

无法在Selenium Python中找到元素

无法在Selenium Python中找到元素

使用Selenium进行Python Web抓取:在模式框中找到一个元素并下载-循环

在Selenium中找到下一个同级元素,Python吗?

如何在python selenium中找到最后一个元素

在Selenium中找到一个孩子的孩子(Python)

Selenium Chrome Webdriver无法在Python中找到元素

使用Selenium WebDriver Python无法在iframe中找到元素

无法在 Selenium 中找到元素,用于提交搜索查询的 Python

无法找到元素Selenium Python

Selenium Python无法找到元素

Selenium / Python:为什么在我的for循环迭代中找到第一个元素后,为什么Selenium find_element_不再通过查找元素了?

无法使用 xpath 找到元素 selenium python

Selenium 无法通过 id python 找到元素

没有这样的元素:无法在Python / Selenium中找到ID为ID的元素

无法在Selenium中找到元素(htmlUnitDriver)

无法在 IFrame (Selenium) 中找到元素

Selenium WebDriver无法在链接中找到元素

使用 Selenium 无法在 iframe 中找到元素

在Selenium python中找到一个具有特定文本跨度的按钮

使用Selenium和Python无法在#shadow-root(打开)中找到Sign In元素

无法单击元素,Selenium Python

无法单击元素Python Selenium

无法单击元素-Selenium python

Python Django无法在另一个页面中找到想要的链接

访问第一个元素后无法通过xpaths在循环中访问其余元素-WebScraping Selenium Python

Python Selenium错误:无此类元素:无法找到元素

Python / Selenium webdriver。在页面上找到一个元素并打印/返回它的xpath