MarkusBernhardt / robotframework-selenium2library-java

Java port of the Selenium 2 (WebDriver) Python library for Robot Framework
Apache License 2.0
46 stars 48 forks source link

Unable to pass in Firefox profile directory when opening browser #63

Closed ali-feint closed 9 years ago

ali-feint commented 9 years ago

Unable to pass in Firefox profile directory when opening browser.

The Open Browser documentation states that you can pass in the ff_profile_dir parameter to set the firefox profile directory. It looks like this isnt parsed out in this library.

_Optional 'ff_profiledir' is the path to the firefox profile dir if you wish to overwrite the default. http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Open%20Browser

I really need to use this, so it would be good if someone could fix.

Thanks

MarkusBernhardt commented 9 years ago

Hi, this works differently in the java version of the library. Please look into the documentation of the java version: https://repo1.maven.org/maven2/com/github/markusbernhardt/robotframework-selenium2library-java/1.4.0.6/robotframework-selenium2library-java-1.4.0.6-libdoc.html#Open%20Browser

I believe this solution is better for two reasons:

Cheers, Markus

ali-feint commented 9 years ago

Thank you, I think I can figure that out.

One question: is it possible to boot up from a specific executable? I want to provide a pre packaged binary, and always run that.

thanks