robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Support for Google Chrome user profile instead of using the default profile #162

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by tomer.ra... on 21 Dec 2010

I'm trying to use robot framework \ selenium library to create a testing environment for Google Chrome extensions.

When providing *googlechrome as the browser for the scripts, chrome starts using a different profile than my user profile, probably some kind of a default profile. So my homepage, extensions, history and local storage are absent.

I've tried using "*custom /path/to/exe -user-data-dir="path/to/userDataDir" but either it doesn't work or I've used it wrong.

How can I make the selenium library run Google Chrome tests using my own user profile?

Thanks!

spooning commented 9 years ago

Originally submitted to Google Code by Andreas.EbbertKarroum on 22 Dec 2010

As far as I can tell this is currently not possible. It is an open issue with selenium itself:

http://jira.openqa.org/browse/SRC-776

spooning commented 9 years ago

Originally submitted to Google Code by @jrantanen on 13 Jan 2011

It would be nice to have this, but as only way to get this working is to fix the Selenium, we cannot do it.

If http://jira.openqa.org/browse/SRC-776 is fixed in Selenium, then this should be available without any modifications to our code. Therefore I close this issue.