cost 314 ms
Python:Function相當於firefoxdriver中的chromedriver。 chromedriver --> firefoxdriver(firefoxdriver 給我語法錯誤)

[英]Python: Function equivalent to chromedriver in firefoxdriver. chromedriver --> firefoxdriver (firefoxdriver gives me syntax error)

我有這兩個功能: get_chromedriver function 可以完美運行,但 get_firefoxdriver 不能,它是 get_chromedriver function 的副本。 如何使 get_firefoxdriver function 在功能上等同於 get_chrome ...

無法通過 Selenium 和 Java org.openqa.selenium.WebDriverException 使用 GeckoDriver 和 Firefox 創建會話錯誤

[英]Unable to create session error using GeckoDriver and Firefox through Selenium and Java org.openqa.selenium.WebDriverException

我可以使用 Intellij 運行測試,但是當我通過 Jenkins 運行相同的測試時,出現以下錯誤。 火狐版 - 72.0.2 Gecko 驅動程序版本 - 0.26 用於集線器和節點的 Selenium 獨立服務器 - 3.141.59 所需功能的代碼: 我看到以非 root 用 ...

Firefox Profile無法自動下載文件

[英]Firefox Profile unable to automatically download file

I am trying to bypass the firefox download manager window when downloading a pdf file in a selenium test by using firefox profile settings: 我嘗試了不同的配置 ...

使用瀏覽器運行自動測試時出錯。 怎么運行?

[英]Error when I run auto test with browser. How run it?

我需要運行自動測試。 但是在 Safari 和 FireFox 中都會出現這樣的錯誤。 Safaridriver 無法安裝在 Safari 版本 10+ 中。 我嘗試將這些瀏覽器的驅動程序添加到項目中,我嘗試在終端中編寫: 但這並沒有幫助。 Safari先打開這個window(文件夾的名字每次 ...

在元素上執行的Selenium Java單擊不起作用

[英]Selenium Java click performed on element did not work

以下內容出現在我的測試自動化代碼中。 它報告已奏效,但沒有奏效。 我可以分解一下並找出原因嗎? 我已經找到了該元素,並測試了它是否可以顯示並單擊,並且將整個批次包裝在try / catch中以檢查錯誤(未報告錯誤)。 我認為問題在於'element.isDisplayed'函數 ...

如何為不同的webdriver選項卡獲取不同的ID

[英]how to get the different IDs for different webdriver tabs

我希望能夠管理多個webdriver選項卡。 我想在獲得每個ID時獲得它們的ID,但是我只能找到窗口ID(它必須是整個窗口的ID,因為更改選項卡后它會保持不變): 在一個窗口中運行多個選項卡時,如何區分不同的選項卡? 謝謝 ...

Selenium 讀取 DOM 時速度極慢

[英]Selenium extremely slow on reading the DOM

Selenium 在每個頁面實例化中做幾件事時,與 DOM 的交互似乎非常緩慢。 在整個站點中,我們都有可見的微調器,指示任何未解決的 API 呼叫是否已解決。 總之,我有三種方法可以在執行任何操作之前確保頁面的穩定性。 檢查 DOM 是否就緒 state 檢查是否有任何未完成的 JQuery 呼 ...

輸入類型錯誤:“電子郵件”,使用HtmlUnitDriver時會產生文本輸入錯誤

[英]Bad input type: “email”, creating a text input error when use HtmlUnitDriver

我正在使用selenium htmlunit驅動程序登錄到Google加。 下面的代碼與fireFox驅動程序正常工作。 當我使用HtmlUnitDriver時,會出現諸如“ 錯誤的輸入類型: ”之類的錯誤。 誰能告訴我如何實現這一目標? ...

使用Selenium / Python的Firefox驅動程序出現錯誤

[英]Error on Firefox Driver using Selenium/Python

嘗試使用Selenium執行簡單的python腳本時出現錯誤。 這是腳本和錯誤以及我的環境信息(我正在使用虛擬環境)。 (當我嘗試使用Chrome驅動程序時出現另一個錯誤)。 任何幫助將不勝感激。 //腳本// //錯誤// //有關我的環境的信息// pyth ...

FirefoxDriver截取不同大小的屏幕截圖

[英]FirefoxDriver takes screenshots of different size

我制作了一個Java應用程序,將我們的登台環境中的屏幕截圖與生產環境中的截圖進行了比較。 該應用程序因屏幕截圖大小不同而失敗。 如何定義屏幕截圖的大小? 我正在使用以下代碼來生成屏幕截圖。 ...

如何使用Selenium FirefoxDriver啟動多個Firefox可移植實例

[英]How to launch multiple instances of Firefox portable using Selenium FirefoxDriver

我在我的測試中使用selenium FirefoxDriver並且我並行運行這些測試 - 在每個線程中運行分離的Firefox實例。 當我使用普通的FireFox時,一切正常,但是如果我想用Firefox可移植運行這些測試,第一個實例啟動成功,但第二個,第三個等等......失敗並出現此錯誤: ...


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