-
Notifications
You must be signed in to change notification settings - Fork 74
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
URL base and port #10
Comments
This was originally based on an implementation using selenium webdriver. In all honestly I think this was developed after https://github.com/RobCherry/docker-selenium, although I am no longer 100% sure since it has been a while. |
Is it it possible to customize the port? I need it to run on port 9515. |
@et Since it's a docker image, you can just map the port to whatever you like when running the container, change If you don't what to see "4444" at all because it makes you think that you are working with Selenium, you can also set the environment variable |
@AndreKR - in order to change the env var, I would need to push up my own image, correct? Sorry, if this is a n00b question, still on the dipping my feet with Docker. |
Let me rephrase that last question...is it possible to map a port when using this with |
The docker syntax to set an environment variable is The docker-compose.yml syntax to map a port is:
The docker-compose.yml syntax to set an environment variable is:
|
Excellent! Thank you @AndreKR 😄 |
hey guys, I want to use this docker image as a runner for my selenium tests, but I couldn't connect. I'm using this snippet:
and result of my
that results in this error:
what's wrong?! |
What does |
@iamsoorena Be sure to set the You can open it up to all IPs by setting it to an empty string, or specify the IPs you want to use. For example if you want to allow all IPs then add this to your docker run command: See the notes at the bottom of the readme for more information. |
Just a remark because it confused me:
The combinations of port and URL base that I have seen so far are:
/wd/hub
In your Dockerfile you have decided to go with port 4444 and URL base <empty>, is there a particular reason for that?
The text was updated successfully, but these errors were encountered: