Closed Bug 1313690 Opened 8 years ago Closed 6 years ago

Cannot get java project using Selenium to run with Firefox 49

Categories

(Testing :: geckodriver, defect)

49 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jfrank, Unassigned)

Details

Attachments

(1 file)

Attached file Runner.java
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce:

Modified my Java project to use Seleniun 3.0.1 and set up system property to point to the gecko driver.    Then did a Run Configurations in Eclipse


Actual results:

The browser started and then the user name and password were entered but when the login button was clicked by the driver, it just cleared out the email and password


Expected results:

Should have been taken to the admin/media page of the application
This is what I am getting now.   After removing the driver.get after you click the login button the scripts does go a bit further but not much.   The application stops when attempting to find and click an element by its linktext. Firefox does not quick and this does not appear to be an exception but yet the application has frozen.   Please help me.  Here is the new message:

Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System info: host: 'DESKTOP-Q7MP2QB', ip: '172.16.1.122', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_102'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], prefs={}}, appBuildId=20161019084923, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=9448, browserVersion=49.0.2, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt, device=desktop}]
Session ID: 1fa194d1-181d-43fe-bdda-5af18b4f740f
Component: General → geckodriver
Attachment #8805560 - Attachment mime type: text/x-java → text/plain
You would need at least Selenium 3.4 to work with geckodriver. But this version is already very outdated. So we propose that you always make use of the latest version of Selenium, geckodriver, and Firefox. Btw. the latter is also not supported for an already very long time.

Also a trace level log would be necessary with the above versions to allow us to have a look at what's going on.
Flags: needinfo?(jfrank)
Closing due to inactivity.  Happy to re-open once requested info has been added.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jfrank)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: