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

Support for Remote selenium webdriver (Docker Version?) #3

Open
CyrosX opened this issue Aug 22, 2021 · 1 comment
Open

Support for Remote selenium webdriver (Docker Version?) #3

CyrosX opened this issue Aug 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@CyrosX
Copy link

CyrosX commented Aug 22, 2021

Is it possible to configure a remote server for doing all the Selenium / browser work?
There is webdriver.Remote for Selenium in Python to configure the ip / hostname
and https://hub.docker.com/u/selenium Docker images for all browsers.

Thought about building a stack like this:
document-dl container & selenium chrome container
connected through docker docker network and
a volume bind for an invoice directory
(auto sub-dirs for all invoice providers).

Alternative: everything in one container (https://nander.cc/using-selenium-within-a-docker-container).

@heeplr
Copy link
Owner

heeplr commented Aug 22, 2021

Currently there is no support for the Remote webdriver. It could probably be implemented as some kind of RemoteSeleniumWebPortal() class. It's certainly a feature one might need but it imposes various problems (like, how to transfer the file from the docker instance to the document-dl instance, etc.)
I might look into this in the future and leave this open as feature request.

EDIT: pull requests welcome :)

@heeplr heeplr changed the title Docker Version? Support for Remote selenium webdriver (Docker Version?) Aug 22, 2021
@heeplr heeplr added the enhancement New feature or request label Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants