Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 Selenium 的 Chrome 驱动程序错误:无法发现打开的页面
运行 Selenium 测试时 我收到与 Chrome 驱动程序相关的错误 错误消息是 无法发现打开的页面 直到昨晚 Selenium 测试都运行良好 问题似乎是在前一天重新启动服务器后开始的 我无法在本地机器上重现此错误 从服务器上的命令
selenium
seleniumchromedriver
Capybara+Selenium:如何在集成测试代码中初始化数据库并使其在 Rails 应用程序中可见?
配置 使用 RSpec Capybara Selemium 驱动程序 SQLite 数据库对 Rails 项目进行集成测试 情况 我与 Capybara 和默认的rack test 驱动程序进行了一些集成测试 他们直接在数据库中创建用户注册
rubyonrails
database
Transactions
selenium
capybara
WebDriver - 元素不可点击 Chrome
我有以下问题 我在 Firefox 和 Chrome 上运行测试 在 Firefox 上测试运行正确 但在 Chrome SauceLabs 上给出一条消息 unknown error Element is not clickable at
c
Googlechrome
selenium
seleniumwebdriver
saucelabs
Selenium/ChromeDriver 未知策略错误
我目前使用 Python v3 5 1 Selenium v3 7 和 Chromedriver v2 33 当我运行以下命令时 from selenium import webdriver driver webdriver Chrome
python
selenium
seleniumchromedriver
如何通过 Selenium 通过 XPath 访问 WebElement?
我需要访问该网站上搜索结果的链接 并将它们放入WebElement 但我无法按班级或任何其他方式找到它们 使用时xpath MyWebDriver findElement By xpath div class inner results f
Java
selenium
seleniumwebdriver
xpath
selenium.common.exceptions.SessionNotCreatedException:消息:未从选项卡创建的会话使用 ChromeDriver Chrome Selenium Python 崩溃
当我尝试访问脚本请求的没有特定的 url 时 显然出现此错误 我不明白为什么会出现这个错误 但我想对其进行处理 以免在发生错误时中止脚本 这会重复 但不能解决我的问题 如何避免错误 selenium common exceptions Se
python3x
selenium
Googlechrome
seleniumchromedriver
如何使用 selenium 获取带有 css 选择器的所有元素的直接子元素?
我已经尝试过使用 gt 语法 但 selenium 不接受它 我知道有一种方法可以使用 Xpath 获取它 但我们的整个项目是使用 CSS 选择器编写的 我试图存储一个列表 其中包含元素的所有直接子元素 但不包含其子元素 后代 当我使用 语
javascript
css
selenium
webdriver
seleniumwebdriver
使用 Selenium IDE 单击 Google 地图
我无法创建 Selenium 测试用例来自动点击 Google 地图 具体来说 通过单击地图来创建标记 IDE中的录制功能 记录 功能将我的鼠标点击记录为 tr td click td td div id map canvas div 3
googlemaps
selenium
Protractor 中 element(...) 和 element(...).getWebElement() 之间的区别
为什么我们需要element getWebElement over element 当两者的工作原理完全相同时 为什么两个 API 具有相同的功能 Protractor是一个方便的包装WebDriverJS javascript 硒绑定 e
javascript
selenium
seleniumwebdriver
protractor
我可以将 Selenium WebDriver 与 Google Cloud Functions 结合使用吗?
我正在尝试使用 Selenium 构建解决方案 我可以使用 Firebase Functions 通过 Selenium 初始化和加载网页吗 我发现一些资源说 不 然而他们没有给出任何来源 而且他们已经4岁了 在 Cloud Functio
firebase
selenium
googlecloudfunctions
无法创建新的远程会话。阿皮姆
public class StartFirstJobTest AppiumDriver driver BeforeTest public void setUp throws Exception DesiredCapabilities cap
Java
Android
MacOS
selenium
appium
使用 selenium 登录 stackoverflow 可以正常工作,但使用 scrapy python 则不行。如何使用无头浏览登录?
我一直在尝试自动登录 stackoverflow 来学习网络抓取 首先我尝试了 scrapy 但使用下面的代码我并没有那么幸运 import scrapy from scrapy utils response import open in
python
selenium
authentication
Scrapy
stackexchange
PHP 致命错误:未捕获错误:未找到“Facebook\WebDriver\ChromeOptions”类
namespace Facebook WebDriver use Facebook WebDriver Remote DesiredCapabilities use Facebook WebDriver Remote RemoteWebDr
php
selenium
phpwebdriver
无法在无头模式下最大化 Chrome 窗口
我最近将 chrome 版本升级到 60 并将 chromedriver 升级到版本 2 31 发布当我尝试最大化浏览器窗口时 我开始收到以下异常 driver driver manage window maximize org openq
Googlechrome
selenium
seleniumchromedriver
geb
使用 Selenium 的 CSS 模块?
我正在使用 React Redux 和 CSS 模块开发一个 Web 应用程序 对于我正在使用的单元测试身份对象代理 https github com keyanzhang identity obj proxy模拟我的 CSS 导入 然而
在 Selenium Node JS 中打开 gecko 驱动程序的日志记录
我目前正在使用Selenium 与 Node Js and FireFox并想打开日志记录功能壁虎司机 但我不确定如何 另外我还想知道在哪里可以找到日志 目前这是我实例化驱动程序的方式 var fOptions new firefox Op
nodejs
selenium
firefox
seleniumwebdriver
geckodriver
selenium 2 Web 驱动程序另存为对话框
使用 selenium 2 和 webdriver 我的一个脚本需要以 pdf 或 csv 格式保存报告 两者都只会弹出一个另存为对话框 我不知道如何与之互动 我现在正在尝试使用 Firefox 但希望它可以在所有浏览器中运行 我读过 20
selenium
如何在 selenium Chrome 功能中设置默认下载目录?
请查找以下具有 chrome 功能的代码 事实上浏览器并没有将文件下载到指定的路径 private static DesiredCapabilities getChromeCapabilities throws Exception Stri
Java
selenium
seleniumwebdriver
seleniumchromedriver
Nonetype 错误/使用 python 的 beautifulsoup 没有打印任何元素
所以我尝试使用 python 比较 2 个列表 其中一个包含我从网站获取的 1000 个链接 另一个包含一些单词 这些单词可能包含在第一个列表的链接中 如果是这种情况 我想得到一个输出 我打印了第一个列表 它确实有效 例如 如果链接是 ht
python
selenium
seleniumwebdriver
beautifulsoup
黄瓜使用标签自动重新运行失败的场景?
在我们的构建中 某些场景会由于我们无法控制的原因或需要很长时间才能正确调试而失败 诸如异步javascript之类的东西 无论如何 重点是有时它们工作 有时不工作 所以我认为最好向场景添加一个标签 例如 rerun on failure 或
ruby
selenium
cucumber
webdriver
«
1
2
3
4
5
6
7
...100
»