Open marklagendijk opened 5 years ago
Note: I fixed the current example of this repo in #28.
Hi, have you got a working example or sample project of using custom preferences of firefox instance driven by protractor... I would be awesome
Yes, see this pull request: https://github.com/juliemr/protractor-demo/pull/28
Op zo 28 jul. 2019 02:32 schreef Martin Derouet notifications@github.com:
Hi, have you got a working example or sample project of using custom preferences of firefox instance driven by protractor... I would be awesome
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/juliemr/protractor-demo/issues/26?email_source=notifications&email_token=AAJCBRZ7GKOKDJSDR2YYJFLQBTSKZA5CNFSM4GYDHJYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26U72I#issuecomment-515723241, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJCBR5RQLPI6DAUMCKAFU3QBTSKZANCNFSM4GYDHJYA .
The current example of using a custom firefox profile does not work. The main issue is that it sets
.firefox_profile
instead of.moz:firefoxOptions.profile
.I created a helper that loads and encodes an existing profile, and returns a Promise:
firefox-profile-loader.js
Example usage: