Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何使用 Selenium 进行搜索、向下箭头并按 Enter 键
我正在尝试搜索一家公司 在 inhersight com 上向下箭头并单击 Enter 我有以下代码 但它似乎不起作用 from selenium import webdriver from selenium webdriver commo
python
selenium
seleniumwebdriver
autosuggest
WebDriverWait
org.openqa.selenium.NoSuchElementException:尝试通过 CssSelector 定位 card-fields-iframe 时,返回的节点 (null) 不是 DOM 元素
我正在尝试通过部分 id 来定位 iframe 对于这个方法 我使用了 driver switchTo frame driver findElement By cssSelector iframe id card fields number
Java
selenium
xpath
cssselectors
WebDriverWait
ElementNotInteractableException:消息:尝试使用 Selenium 和 Python 单击元素时,元素无法滚动到视图中
我有这个代码 driver switch to window window after try myElem WebDriverWait driver delay until EC presence of element located B
python
selenium
seleniumwebdriver
webdriver
WebDriverWait
WebDriverWait 中的逻辑运算符预期条件
我正在使用 Python Selenium 提交表单 然后让 Web 驱动程序通过使用类 id 的预期条件等待下一页加载 我的问题是 有两个页面可以显示 但它们不共享原始页面中不存在的唯一元素 我可以找到 一页有一个独特的类别是mobile
python
selenium
seleniumwebdriver
WebDriverWait
无法单击元素:Splinter / Selenium 中的 ElementClickInterceptedException
我正在尝试抓取页面 但有时无法单击链接 按钮 当网页加载时 loadingWhiteBox 将首先出现 然后在几秒钟后消失 但它会保留在HTML代码中 只要该框出现在网站上 我就无法单击该链接 并且得到以下错误消息 selenium com
python
selenium
WebDriverWait
splinter
expectedcondition
通过 Python 在 Selenium 中使用 WebDriverWait for link_text “TypeError: 'str' object is not callable”
这是我在 Stack Overflow 上的第一篇文章 我一直在浏览和搜索这个问题的每一个可能的答案 我想在这一点上我应该问一个问题 因为我已经在这堵墙上呆了好几天了 我目前正在使用 Python 中的 Selenium 开发一个网络抓取项
python
selenium
WebDriverWait
expectedcondition
linktext
如何使用 Selenium 和 Java 单击 reCAPTCHA
为什么在尝试让驱动程序单击 reCAPTCHA 按钮时出现错误 这是我试图让它工作的网站 https rsps100 com vote 760 https rsps100 com vote 760 到目前为止 这是我当前的代码 WebEle
selenium
seleniumwebdriver
iframe
reCAPTCHA
WebDriverWait
selenium.common.exceptions.ElementNotVisibleException:消息:尝试使用 Python + Selenium 访问元素时元素不可见
我尝试在以下网站中输入用户名和密码 https www thegreatcoursesplus com sign in https www thegreatcoursesplus com sign in driver webdriver C
python
selenium
seleniumwebdriver
webdriver
WebDriverWait
使用 Python 进行迭代时出现 StaleElementException
我正在尝试为亚马逊结果创建一个基本的网络抓取工具 当我迭代结果时 有时会到达结果的第 5 页 有时仅第 2 页 然后是StaleElementException被抛出 当我在抛出异常后查看浏览器时 我可以看到驱动程序 页面没有向下滚动到页码
python
selenium
xpath
WebDriverWait
staleelementreferenceexception
使用 Selenium 和 Python 在 Instagram 通知上点击“现在不”
我已经编写了一个可以成功登录 Instagram 的脚本 当我应该在家里使用我的帐户时 网站会显示一个弹出窗口 询问您是否需要通知 此时 我尝试了很多解决方案 但一无所获 我只是希望 当显示弹出窗口时 脚本应该单击 现在不 from sel
python
selenium
seleniumwebdriver
instagram
WebDriverWait
ElementClickInterceptedException:元素单击被拦截:使用 Selenium Python 单击“搜索”按钮时出现错误,元素不可单击
我想抓取以下网站 https sprs parl gov sg search home https sprs parl gov sg search home 但是当我的代码单击 搜索按钮 时 我收到错误 ElementClickInterc
javascript
python
selenium
seleniumwebdriver
WebDriverWait
“UnexpectedTagNameException”和 Element 应该是“select”,但通过 Selenium java 使用“Select”函数却出现“div”错误
在这种形式下 下拉选择不起作用 在上图中 我想选择 借贷能力 我为它编写代码 public static void main String args throws InterruptedException WebDriver driver
Java
selenium
xpath
webdriver
WebDriverWait
Selenium Web 驱动程序等待很长时间
我可以长时间等待 Selenium Web Driver 吗 尽管我可以像下面这样设置隐式等待命令 但它不会等待我给出的时间 driver manage timeouts implicitlyWait 5 TimeUnit MINUTES
selenium
seleniumwebdriver
webdriver
WebDriverWait
使用 selenium 在 Chrome 中“未知错误:无法读取 null 的属性‘scrollleft’”
在 Chrome 中 当我单击按钮时 出现 未知错误 cannot read property scrollleft of null 他们是该页面中的 1 个输入字段 我可以输入值 因为只有按钮单击不起作用 此点击在 Firefox 中运行
c
selenium
seleniumwebdriver
seleniumchromedriver
WebDriverWait
selenium 将两个 xpath 测试合二为一
我尝试结合检查两种情况 如果启动检查失败 我们会看到重试按钮 el WebDriverWait self driver 10 until EC element to be clickable By NAME Try again 或者启动检查
python
selenium
xpath
cssselectors
WebDriverWait
如何使用 selenium xpath 等待页面中的两个元素之一
我有两个元素可以等待 我想要wait直到它们中的任何一个出现在页面上 我正在尝试使用xpath定位器 但它不起作用 By xpath contains id idNumber1 or contains id idNumber2 这是可以实现
Java
selenium
seleniumwebdriver
xpath
WebDriverWait
Selenium chromedriver 无法找到嵌套的
标签
我正在尝试找到嵌套的nl我无法从中获取它的标签by xpath query 这是我在java中的相关代码行 driver findElement By xpath div id navbarNav following sibling ul
Java
seleniumwebdriver
xpath
cssselectors
WebDriverWait
如何使用 Selenium 和 Python 在信用卡号字段中输入日期?
我正在尝试制作一个脚本来自动在 Shopify 网站上结帐 当我尝试填写要求信用卡的字段时 硒不允许我将密钥发送到该字段中 并表示该元素不可交互 我已经尝试单击它 但它仍然不允许我输入信息 有人知道该怎么办吗 driver find ele
python
selenium
iframe
WebDriverWait
creditcard
如何通过selenium和python点击smtebook中嵌入的youtube视频的播放按钮
我想点击 youtube 播放https smtebooks us downfile 13192 building serverless python web services zappa pdf https smtebooks us do
python3x
selenium
seleniumwebdriver
xpath
WebDriverWait
Selenium - 如何在 iframe 上定位元素
我正在尝试在 iframe 中查找元素 但我无能为力 这是我的代码和我收到的错误 这是我的脚本 public class Add Lists public static void main String args throws Interr
Java
selenium
seleniumwebdriver
iframe
WebDriverWait
«
1
2
3
4
5
6
»