Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to set additional environment variables for drivers #5412

Closed
lgrahl opened this issue Jan 30, 2018 · 3 comments
Closed

Provide a way to set additional environment variables for drivers #5412

lgrahl opened this issue Jan 30, 2018 · 3 comments
Labels
C-remote I-enhancement I-stale Applied to issues that become stale, and eventually closed.

Comments

@lgrahl
Copy link

lgrahl commented Jan 30, 2018

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

@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the I-stale Applied to issues that become stale, and eventually closed. label Oct 23, 2021
@github-actions
Copy link

github-actions bot commented Nov 6, 2021

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as completed Nov 6, 2021
@github-actions
Copy link

github-actions bot commented Dec 7, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-remote I-enhancement I-stale Applied to issues that become stale, and eventually closed.
Projects
None yet
Development

No branches or pull requests

2 participants