Closed Bug 1297403 Opened 9 years ago Closed 9 years ago

marionette : gecodriver does not work with 2.51.1 web driver client ( java )

Categories

(Remote Protocol :: Marionette, defect, P1)

9 Branch
x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nabarun.mondal, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17 Steps to reproduce: 1. Setup the 0.9.0 marionette driver also copy it with name wires.exe . Add to the path. 2. Go to anywhere open a cmd prompt in Windows and see both gecodriver and wires can open - they are in the path. 3. Now, we have this code - capabilities = DesiredCapabilities.firefox(); capabilities.setCapability("marionette", true); FirefoxProfile fp = new FirefoxProfile(); fp.setPreference( "network.negotiate-auth.trusted-uris", "http://,https://"); fp.setPreference("network.negotiate-auth.using-native-gsslib", true); capabilities.setCapability(FirefoxDriver.PROFILE, fp); try { return new RemoteWebDriver(capabilities); }catch (Exception e){ e.printStackTrace(); return null; } 4. When we run this, the binary does not get automatically picked. It generates a time out. Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:4444 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect 5. If we externally trigger the binary, then, the exception is : org.openqa.selenium.UnsupportedCommandException: POST /wd/hub/session did not match a known command (WARNING: The server did not pro vide any stacktrace information) Command duration or timeout: 71.47 seconds Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'xxxxx', ip: '10.0.2.15', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_102' Actual results: See what did I do. Expected results: It should open firefox and run it. Did not happen.
Severity: normal → blocker
OS: Unspecified → Windows 7
Priority: -- → P1
Hardware: Unspecified → x86_64
Marionette/geckodriver is only supported in Selenium 3 beta builds, and this is anyway not a Mozilla bug.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.