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

How to specify firefox options? #1

Open
Regela opened this issue May 25, 2022 · 1 comment
Open

How to specify firefox options? #1

Regela opened this issue May 25, 2022 · 1 comment

Comments

@Regela
Copy link

Regela commented May 25, 2022

I want to specify additional firefox options. How can I do it?

@munro
Copy link
Owner

munro commented Jun 16, 2022

Yea it's not exposed, and not very easy to do. I was in a similar boat recently, so I feel your pain.

@Regela What options are you looking to set? Plan WAS to just extend this every time I encountered a new option in the code below [1], because I do often find myself switching between Chrome/Firefox for the same automation script.

But the reality is it's a total PITA to task switch from working on something else to extending this lib. So yea I think also just being able to pass Firefox options should be added to the API.

[1]

class Options:
_: KW_ONLY
browser: BrowserType = "firefox"
headless: bool = True

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

No branches or pull requests

2 participants