By "manually", I mean create a new profile, open the browser UI and
visit the page, select "always allow" when it asks to send location
information to this site, then close the browser and use that saved
profile in my tests. From what I can tell, this has the effect of
adding a "permissions" entry in the Firefox profile, which seems to be
distinct from preference data. It doesn't seem like you can add
permission values by setting preferences, though if anyone knows
otherwise, I'd love to hear about it.
In my case, I'm not using a grid, just a headless build server (for
now). Still, I'd like the build to work out of the box, rather than
having a bunch of manual steps needed to successfully run tests, and
performing these steps on the headless build server is a bit
complicated.
Thanks,
Oliver
On Mar 16, 2:19 am, Krishnan Mahadevan
<
krishnan.mahadevan1...@gmail.com> wrote:
> Oliver,
> I havent worked on this, but would like to know how do you do it manually.
> If its a setting that is getting appended to prefs.js then you can create
> firefox profile and add preferences via your test code itself.
>
> More inline comments below.
>
> Thanks & Regards
> Krishnan Mahadevan
>
> "All the desirable things in life are either illegal, expensive, fattening
> or in love with someone else!"
>