python-selenium-async icon indicating copy to clipboard operation
python-selenium-async copied to clipboard

How to specify firefox options?

Open Regela opened this issue 3 years ago • 1 comments

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

Regela avatar May 25 '22 19:05 Regela

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] https://github.com/munro/python-selenium-async/blob/968f3a63c07d58d510a3eb172d06d96c44ee3ab3/selenium_async/options.py#L8-L11

munro avatar Jun 16 '22 22:06 munro