Closed Bug 1279601 Opened 9 years ago Closed 9 years ago

Unable to open Firefox using Firefox Marionette driver

Categories

(Remote Protocol :: Marionette, defect)

47 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: shung, Unassigned)

Details

(Whiteboard: [marionette-c#])

Attachments

(1 file)

Attached image Exception.png
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36 Steps to reproduce: OS: Windows 10 Firefox: v47.0 geckodriver: v0.8.0 Selenium.WebDriver: v2.53.0 Selenium.Support: v2.53.0 Language: C# I call the following in my Selenium script. var driver = new FirefoxDriver(new FirefoxOptions()); Actual results: 1. wires.exe got launched 2. Firefox is not open 3. Received an exception with the message "entity not found". Please see the attached image file. Expected results: Expect Firefox browser open.
Component: Untriaged → Marionette
Product: Firefox → Testing
Jim, can you have a look at this please?
Flags: needinfo?(james.h.evans.jr)
Whiteboard: [marionette-c#]
Try the following code: var service = FirefoxDriverService.CreateDefaultService(); // NOTE: update the path below with your actual path to the Firefox executable service.FirefoxBinaryPath = @"C:\Program Files(x86)\Mozilla Firefox\firefox.exe"; var driver = new FirefoxDriver(service);
The code works. Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(james.h.evans.jr)
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: