Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium 3 with Firefox 49 Portable Edition doesn't start #365

Closed
Jonathan478 opened this issue Nov 26, 2016 · 4 comments
Closed

Selenium 3 with Firefox 49 Portable Edition doesn't start #365

Jonathan478 opened this issue Nov 26, 2016 · 4 comments

Comments

@Jonathan478
Copy link

Meta -

OS: Windows 7
Selenium Version: 3.0.1
Browser: Firefox 49.0.2 Portable Edition

Expected Behavior -

Run Firefox Portable Edition and display the text message "test is executed" in my console.

Actual Behavior -

Firefox is launched but nothing else after that. Just the following logs :
1478965841203 geckodriver INFO Listening on 127.0.0.1:45941 nov. 12, 2016 4:50:41 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFOS: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end 1478965841598 mozprofile::profile INFO Using profile path d:\Profiles\<username>\AppData\Local\Temp\rust_mozprofile.TisH4gXwlj3K 1478967041359 geckodriver::marionette INFO Starting browser D:\firefox-portable\FirefoxPortablex64-48.0.2\FirefoxPortable.exe 1478967041388 geckodriver::marionette INFO Connecting to Marionette on localhost:52702

Steps to reproduce -

Run the JUnit test.

`
public class SeleniumWithFirefoxPortableEditionTest {
WebDriver webDriver = new FirefoxDriver();
static {
// 1) Work with native Firefox
System.setProperty("webdriver.gecko.driver", ClassLoader.getSystemResource("webdriver/geckodriver_0.11.1.exe").getFile());

// 2) Don't work when I add these 2 properties
//        System.setProperty("webdriver.firefox.marionette", "true");
//        System.setProperty("webdriver.firefox.bin", "D:\\firefox-portable\\FirefoxPortablex64-49.0.2\\FirefoxPortable.exe");`

} @Test public void test() { System.out.println("test is executed"); } }

I precise I also added the geckodriver executable path in system environment variable (but it changed nothing) like it mentionned here : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver

@AutomatedTester
Copy link
Contributor

Unfortunately Firefox Portable is not supported by Mozilla. Please raise this issue with Firefox Portable project as they might be doing other things to the browser that we are not expecting

@dionysiose
Copy link

@Jonathan478 did you manage to work around this issue at the end?

@whimboo
Copy link
Collaborator

whimboo commented Jun 18, 2018

@dionysiose if you still have problems with a recent version of geckodriver and Firefox portable please attach the trace logs: https://firefox-source-docs.mozilla.org/testing/geckodriver/geckodriver/TraceLogs.html

@lock
Copy link

lock bot commented Aug 16, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants