You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My test infrastructure downloads drivers to match the installed versions of browsers, but doesn't know about snap. Geckodriver only supports Firefox snap without special arguments if you use the version from inside snap. According to #2010, this is because the snap package doesn't share /tmp with the host, and geckodriver seems to want to put temporary profiles into /tmp.
I would like geckodriver to be able to be independent of snap, and for an external geckodriver to work by default whether Firefox is installed directly on the host or via snap. It seems that this can be done by either:
changing the default of --profile-root to a shared location
by sharing the host's /tmp to the snap package
What would be a more acceptable solution? Is there a third option?
Thanks!
The text was updated successfully, but these errors were encountered:
In my case, I'm not repackaging it so much as downloading it automatically so it's not a prerequisite for running tests in my projects.
I'll have to see if there's a stop-gap at a project level that could specify this flag. But this adds extra complexity when it's part of a Selenium grid, as we now have to specify that flag in the options in every client using the grid. And the client specifying a path for profiles on a remote system feels all wrong IMO.
Could snap profiles default to a root like $HOME/.geckodriver/?
System
Testcase
N/A
Stacktrace
N/A
Trace-level log
N/A
See also comment #2010 (comment) and below for context.
My test infrastructure downloads drivers to match the installed versions of browsers, but doesn't know about snap. Geckodriver only supports Firefox snap without special arguments if you use the version from inside snap. According to #2010, this is because the snap package doesn't share
/tmp
with the host, and geckodriver seems to want to put temporary profiles into/tmp
.I would like geckodriver to be able to be independent of snap, and for an external geckodriver to work by default whether Firefox is installed directly on the host or via snap. It seems that this can be done by either:
--profile-root
to a shared location/tmp
to the snap packageWhat would be a more acceptable solution? Is there a third option?
Thanks!
The text was updated successfully, but these errors were encountered: