Skip to content

Conversation

brendandahl
Copy link
Collaborator

Can now use --no-browser-auto-config or the env variable.

Can now use `--no-browser-auto-config` or the env variable.
parser.add_argument('--headless', action='store_true',
help='Run browser tests in headless mode.', default=None)
parser.add_argument('--browser-auto-config', type=bool, default=True,
parser.add_argument('--browser-auto-config', action=argparse.BooleanOptionalAction, default=None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm.. i've never seen that before. Does it magically provide the --no- variant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just learned about it the other day.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Err...I guess it's too new. Not available until 3.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants