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
I would like to apply specific additional environment variables when running a browser. Now, I've seen that there is at least some hidden (?) way to set environment variables but it's not possible to do it remotely via Selenium Grid.
Why is this needed? For example, I need to retrieve the log from Firefox for specific modules. To do that, I'm required to set an environment variable such as NSPR_LOG_MODULES=DataChannel:5,SCTP:3. But only some tests require this log output and other tests will require logging output from different modules. Activating everything and parsing them afterwards would be overkill (and potentially slow).
(I would really be able to fix this for my own use case asap. So, if you have an idea how a quick & dirty fix could be applied (and where), please let me know. Since Java is unable to set environment variables at runtime 😒 my previous quick & dirty idea failed.)
Meta -
OS: All
Selenium Version: 3.8.1
I would like to apply specific additional environment variables when running a browser. Now, I've seen that there is at least some hidden (?) way to set environment variables but it's not possible to do it remotely via Selenium Grid.
Why is this needed? For example, I need to retrieve the log from Firefox for specific modules. To do that, I'm required to set an environment variable such as
NSPR_LOG_MODULES=DataChannel:5,SCTP:3
. But only some tests require this log output and other tests will require logging output from different modules. Activating everything and parsing them afterwards would be overkill (and potentially slow).(I would really be able to fix this for my own use case asap. So, if you have an idea how a quick & dirty fix could be applied (and where), please let me know. Since Java is unable to set environment variables at runtime 😒 my previous quick & dirty idea failed.)
Related: mozilla/geckodriver#1148
The text was updated successfully, but these errors were encountered: