3

I'm trying to use Firefox portable for my tests in python. In plain webdriver it works, but i was wondering how to do it in remote webdriver. All i could find is how to pass firefox profile, but how to specify to webdriver which binary to use?

2 Answers 2

3
FirefoxBinary binary = new FirefoxBinary('path/to/binary');
IWebDriver driver = new FirefoxDriver(binary);

Hope this would help you.

Sign up to request clarification or add additional context in comments.

Comments

0

Very hacky, but you could modify the Webdriver Firefox plugin to point to your binary.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.