Jonas Obrist
Jonas Obrist
@yakky I'm not advocating making this the default, simply adding the ability to hook certain extensions into that form. So if you have a simple one/two field extension, you can...
See [this comment](https://github.com/HDE/arsenic/issues/35#issuecomment-392537734) and [this comment](https://github.com/HDE/arsenic/issues/35#issuecomment-451540986) in the linked issue. the `log_file` argument to a driver only controls the output of the driver, not of arsenic itself. arsenic uses structlog...
You can't pass a driver to a driver. Try this instead ```python service = services.Geckodriver(log_file=os.devnull) async with get_session(service, Firefox()) as session: ```
You should get the button in javascript itself, so something like `execute_script("document.querySelector(arguments[0]).scrollIntoView(false)", button_css)` should work.
To help me reproduce this, could you please tell me what proxy software you're using?
Also, does it work in non-headless mode behind a proxy?
I haven't tried profiles yet, but you should be able to use them. For on-disk profiles, doing this should work: ```python ff = Firefox(**{"moz:firefoxOptions": { "args": ["-profile", "/path/to/my/profile"], }}) ```...
could this just be the website you're trying to access detecting headless browsers and rejecting them?
> Is there a way to use Firefox profiles? ```python Firefox(**{"moz:firefoxOptions": {"profile": PATH_TO_PROFILE}}) ```
> @ojii unfortunately, passing the profile doesn't work, it either doesn't do anything like here #30 (for me it throws an error `arsenic.errors.SessionStartError: unknown error: Invalid byte 58, offset 1.`)...