cost 273 ms
錯誤 org.openqa.selenium.devtools.CdpInfo:模塊 org.seleniumhq.selenium.remote_driver 未聲明“使用”

[英]error org.openqa.selenium.devtools.CdpInfo: module org.seleniumhq.selenium.remote_driver does not declare `uses`

為什么我不能發布這個,它說“這看起來像垃圾郵件”。 但這不是垃圾郵件,我檢查了 StackOverflow 的每個角落,但找不到任何對我有用的東西。 哦,天哪,這令人沮喪我想創建一個 JavaFX 應用程序,該應用程序使用 Selenium 進行 web 抓取,但它沒有 Z34D1F961FB2E ...

在 Python 中使用遠程 WebDriver 設置 Chrome DevTools (Selenium 4)

[英]Setting up Chrome DevTools (Selenium 4) Using Remote WebDriver in Python

我一直在嘗試使用 Selenium 4 和 Python 來設置 Chrome DevTools 的使用。 我已經能夠讓它在本地運行(沒有任何異步的東西),但是當我嘗試使用 webdriver.Remote 實現時,它崩潰了。 這是 Selenium 文檔中的一個示例: https://www.s ...

Docker & Selenium-Java:- 無法在 docker 容器上運行的 chrome 瀏覽器中上傳圖像/文件

[英]Docker & Selenium-Java :- Unable to upload Image/file in chrome browser running on a docker container

我在 docker 容器上運行帶有遠程驅動程序的 selenium 測試用例。 我想將文件上傳到在 conatiner 上運行的 chrome 瀏覽器。 我嘗試了以下方法:- 將文件從我的本地系統(MyDocuments 文件夾)復制到 docker 容器。 當我點擊上傳按鈕時,我不確定如何瀏覽文件 ...

如何修復 SessionNotCreatedException:嘗試運行 Firefox 時無法創建新的遠程 session?

[英]How to fix SessionNotCreatedException: Unable to create new remote session when trying to run Firefox?

我有一個帶有 Chrome 和 Firefox 的 Selenium 服務器 4。 Chrome 工作正常,但是當我嘗試運行 Firefox 時,它會拋出一個錯誤: org.openqa.selenium.SessionNotCreatedException:無法創建新的遠程 session。 ...

使用 Selenium 時無法將多個電子郵件地址添加到 sendkeys()

[英]Unable to add multiple email addresses to sendkeys() while using Selenium

使用Selenium 時無法向 sendkeys() 添加多個電子郵件地址。 我想要做的是使用 selenium 遠程 webdriver 向多個地址發送電子郵件來構建一些測試用例。 以下邏輯僅將電子郵件發送給第一個收件人。 下面的邏輯執行得很好,不會拋出任何異常,但它根本不生成電子郵件。 ...

將 selenium 與 cucumber 與 maven 集成時出現問題

[英]Issue while integrating selenium with cucumber with maven

我在基礎 class(Java 步驟定義類)中遇到以下錯誤 org.openqa.selenium.remote.RemoteWebdriver 類型無法解析 我已經嘗試過提供類似問題的解決方案,但是,它們都沒有工作嘗試在 pom.xml 中添加 selenium 遠程驅動程序 class 嘗試清理 ...

如何使用 Selenium::Remote::Driver 抑制“警告”?

[英]How to suppress “warning” using Selenium::Remote::Driver?

我怎樣才能讓上面的代碼不打印這個警告: 執行命令時出錯:沒有這樣的元素:無法找到元素://a[.="text not found"] 根據文檔,如果沒有找到元素,function 會發出“警告”,但no warnings; 在腳本中不會抑制它。 我怎樣才能壓制這個“警告”? ...

selenium.JavascriptException:javascript 錯誤:無法在“文檔”上執行“elementFromPoint”:提供的雙精度值是非有限的

[英]selenium.JavascriptException: javascript error: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite

使用 chrome 78 和 chromedriver78 當我單擊音頻文件或嘗試使用 selenium 測試停止音頻時,我收到此錯誤。 錯誤: 請注意,它僅發生在遠程 webdriver 上,並且不一致。 錯誤堆棧跟蹤: 當“item_1”元素的音頻播放器在“[data-rcfid='checkb ...

Edge啟動,但無法導航到uri

[英]Edge launches but fails to navigate to uri

我正在使用硒遠程驅動程序(帶有C#)進行鑲邊和邊緣處理。 這些測試在chrome瀏覽器上似乎運行良好,但在邊緣上卻沒有。 Edge已啟動,但無法導航到指定的uri。 我試圖確保,我具有與安裝的edge版本相同的webdriver版本,我在Windows 10上因此已經打開。 該 ...

SessionNotCreatedException:消息:無法創建新服務:ChromeDriverService 與 Selenium 3.14.0 和 Python 3.7.3

[英]SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService with Selenium 3.14.0 and Python 3.7.3

蟒蛇 3.7.3 pycharm 2019.1.3 硒獨立 3.14.0 硒 3.141.0 Java JDK 12.0.2 Windows 7的 當我嘗試使用遠程 webdriver 運行腳本時出現錯誤,我的 java.version 不是我所期望的(預期版本至少為 12。): ...

如何使用find_elements查找多個元素的文本

[英]How to find text for multiple elements using find_elements

我對使用Selenium Remote Driver和Perl很陌生。 我想做的是讓Selenium使用部分文本匹配來找到頁面上的所有元素。 然后將這些元素的全文存儲到數組中。 我試過使用: @elements = $driver->find_elements("//tbody ...

Firefox會話未使用Selenium網格遠程驅動程序啟動-無法找到匹配的功能集

[英]Firefox session doesn't initiate using selenium grid remote driver - Unable to find a matching set of capabilities

java.version:“ 12.0.1” 硒服務器內部版本信息:版本:“ 3.141.59” Firefox版本= 68 python版本= Python 3.7.2 我嘗試在硒網格上運行firefox並收到以下錯誤:selenium.common.exception ...

從Selenium RemoteWebDriver與Selenium Docker Firefox容器連接時,如何解決“拒絕連接”錯誤?

[英]How to fix “Connection Refused” error while connecting with Selenium Docker Firefox container from Selenium RemoteWebDriver?

我一直在嘗試通過為Standalone-Firefox瀏覽器創建Docker容器並使用Selenium RemoteWebDriver將其連接來學習Docker。 我已經安裝了docker映像並確保其正在運行。 我正在嘗試訪問Google.com並打印標題。 但是,我收到“線程“主 ...

Selenium Grid:使用RemoteWebDriver自定義瀏覽器位置

[英]Selenium Grid: Use custom browser location with RemoteWebDriver

我正在使用Selenium網格在遠程計算機上運行一些測試。 這就是我如何啟動集線器的一台遠程機器A. 這就是我在遠程機器B上啟動節點的方法 這是在遠程計算機上啟動瀏覽器的類: 上面的代碼啟動了安裝在遠程節點(機器B)上的Firefox瀏覽器。 但是,我想啟動一個位於“ ...

org.openqa.selenium.UnsupportedCommandException:使用Selenium找不到可變資源

[英]org.openqa.selenium.UnsupportedCommandException: Variable Resource Not Found using Selenium

我正在使用使用selenium協議的phantomjs webdriver來呈現網頁。當我嘗試渲染網頁時,我收到以下錯誤: 我的webdriver正在運行的方法。 我也嘗試重新啟動phantomjs webdriver。 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM