selenium-firefoxdriver

Which Firefox version is compatible with Selenium 2.48.0

☆樱花仙子☆ 提交于 2019-12-23 08:59:53
问题 who can help me? Which Firefox version is compatible with Selenium 2.48.0 回答1: Selenium WebDriver 2.48 supports till firefox version 41.0 , For more details please have a look at changelog of selenium webdriver. Selenium ChangeLOG 回答2: Selenium support for Firefox is the latest release, the previous release, the latest ESR release and the previous ESR release. Selenium 2.48.0 is supported for Firefox from 24 to 41 , unless I'm missing something. I know I have used Selenium 2.47 with Firefox

Headless script crashes after a few runs

自闭症网瘾萝莉.ら 提交于 2019-12-23 07:42:50
问题 I have a script using a headless browser which I'm running using crontab -e . It runs fine the first few times and then crashes with the following Traceback: Traceback (most recent call last): File "/home/clint-selenium-firefox.py", line 83, in <module> driver.get(url) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 248, in get self.execute(Command.GET, {'url': url}) File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py"

Can a website detect when you are using selenium with geckodriver?

余生长醉 提交于 2019-12-23 04:42:02
问题 Is it possible to detect instances of firefox browsers that are being controlled by Selenium and geckodriver? Note there is a corresponding answer for chromedriver, but I'd like to know whether this is possible for firefox/geckodriver. 回答1: Yes you can detect geckodriver controlled selenium with a simple check in JavaScript var runningSelenium = !("showModalDialog" in window); 回答2: As others have pointed out, there are a variety of different ways that a site can fingerprint and detect that

Can a website detect when you are using selenium with geckodriver?

纵然是瞬间 提交于 2019-12-23 04:41:48
问题 Is it possible to detect instances of firefox browsers that are being controlled by Selenium and geckodriver? Note there is a corresponding answer for chromedriver, but I'd like to know whether this is possible for firefox/geckodriver. 回答1: Yes you can detect geckodriver controlled selenium with a simple check in JavaScript var runningSelenium = !("showModalDialog" in window); 回答2: As others have pointed out, there are a variety of different ways that a site can fingerprint and detect that

RSelenium not working with Firefox

被刻印的时光 ゝ 提交于 2019-12-22 12:54:07
问题 I know my question is similar to this one, but he's trying to use Chrome while I'm trying to use Firefox (47.0.1). So basically, I'm trying to use RSelenium. Here is my code : > library(RSelenium) > checkForServer() > startServer() > mybrowser <- remoteDriver() > mybrowser$open() And with that last line, I get the following error. [1] "Connecting to remote server" Error: Summary: UnknownError Detail: An unknown server-side error occurred while processing the command. class: org.openqa

Selenium firefox - WebDriverException: Reached error page: about:certerror

£可爱£侵袭症+ 提交于 2019-12-22 10:59:21
问题 Meta :- Firefox v51.0.1 (32-bit) Windows 10 Selenium 3.0.1 Geckodriver Win32 v0.13.0 Java v1.8.0_71 Steps to reproduce :- WebDriver driver = new FirefoxDriver(); driver.get("untrusted/self-signed URL") Stacktrace :- org.openqa.selenium.WebDriverException: Reached error page: about:certerror?e=nssBadCert&u=xxxxxxxx&c=UTF-8&f=regular&d=xxxxxx%20uses%20an%20invalid%20security%20certificate.%0A%0AThe%20certificate%20is%20not%20trusted%20because%20it%20is%20self-signed.%0AThe%20certificate%20is

ABORT: Aborting on channel error line :2076 in Selenium 3.0.0 beta 2

夙愿已清 提交于 2019-12-22 04:02:02
问题 I have been using Selenium 3.0.0 beta2 with the Firefox 48.0.2 and geckodriverv10.0 for win 64. The problem is that the browser crashes without closing. > [Child 10232] ###!!! ABORT: Aborting on channel error.: file c:/builds/moz2_slave/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, > line 2046 And it passes the test case. I tried with FF 46.0.9 as well still gives the same error. 回答1: According to the geckodriver issue #210, this was caused by mozilla bug 1051567 and

geckodriver.exe not in current directory or path variable, Selenium 2.53.1 + Firefox 48 + Selenium 3 Beta

╄→гoц情女王★ 提交于 2019-12-20 16:26:27
问题 Seen a lot of questions regarding Selenium 2.53.1 and Firefox 47.0.1, but none in regards to the Selenium 3 Beta release. I am attempting to use the new gecko/marionette Firefox webdrivers, but even though I have the driver location in; my environment path, Firefox install folder in programs, and give the drive location in the system environment, it will still not work correctly. Error: The geckodriver.exe does not exist in the current directory or in a directory on the PATH environment

Can't upload file using Selenium with Python. POST POST /session/b90ee4c1-ef51-4cc0-8543-dfd76c7a151d/file did not match a known command

偶尔善良 提交于 2019-12-20 06:28:50
问题 I am trying to upload a file to this website from selenium import webdriver from selenium.webdriver.common.keys import Keys my_mail = "email@yahoo.com" driver = webdriver.Firefox("C:\\Users\Daniel\AppData\Local\Programs\Python\Python36-32\Scripts") driver.get("https://www.ngs.noaa.gov/OPUS/") assert "OPUS" in driver.title driver.find_element_by_name("uploadfile").send_keys("C:\\Users\\Daniel\\Desktop\\popo\\uhc30010.15d") email = driver.find_element_by_name("email_address") email.send_keys(my

selenium.common.exceptions.InvalidSessionIdException using GeckoDriver Selenium Firefox in headless mode through Python

一世执手 提交于 2019-12-20 02:26:12
问题 I am tryin to use python an selenium to automate some cases on firefox headless mode. I think, I did every settings that I need but still webdrvier is not initialized. My problem is getting the exception approximately 30-60 sec after executing my code and exception message is not clear actually message section is empty. As you can see on the geckodriver.log firefox running in headless mode. I use Firefox 56.0.1, python 3.6, selenium 3.141.0. Here is my code and logs; Code: import os import