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

Windows support #105

Closed
VigneshVRP opened this issue Apr 25, 2017 · 7 comments
Closed

Windows support #105

VigneshVRP opened this issue Apr 25, 2017 · 7 comments
Labels

Comments

@VigneshVRP
Copy link

@VigneshVRP VigneshVRP commented Apr 25, 2017

Can we please have support for Windows?
Thanks

@diemol
Copy link
Member

@diemol diemol commented Apr 25, 2017

Hi @TestAutomation85,
It should work on Windows out of the box, someone in the Gitter chat told me that this command works for Windows 8.1 (please check local paths)

docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /c/Users/raj/temp/videos:/home/seluser/videos \
    dosel/zalenium start

Please try it and let us know.

@diemol diemol added the question label Apr 25, 2017
@VigneshVRP
Copy link
Author

@VigneshVRP VigneshVRP commented Apr 26, 2017

Thanks @diemol for your quick response. In case of Windows, would it run Internet Explorer locally in addition to Chrome and Firefox?

@diemol
Copy link
Member

@diemol diemol commented Apr 26, 2017

Ah ok, are you asking about:

  • Supporting Internet Explorer directly in Zalenium with docker? -> This is not possible yet since it is not possible to run Windows with a UI in docker, yet.
    or
  • You have your own machine with Internet Explorer and you want to connect it to Zalenium?
@VigneshVRP
Copy link
Author

@VigneshVRP VigneshVRP commented Apr 26, 2017

Oh ok @diemol. Can you tell me a little more about adding your machine to the Zalenium grid? Does this mean I can have a mix of Docker containers and regular VMs connected to the Zalenium grid?
What advantages does the Zalenium grid offer over the regular Selenium grid? Thanks for answering my queries.

@diemol
Copy link
Member

@diemol diemol commented Apr 26, 2017

Sure @TestAutomation85

Can you tell me a little more about adding your machine to the Zalenium grid?

Just like registering a normal node to the grid, but please avoid using port 5555 if the node is in the same machine since we use it for something else. E.g. with Safari, please adapt for IE.
java -jar selenium-server-standalone-3.3.1.jar -role node -port 5556 -browser browserName=safari -hub http://localhost:4444/grid/register

Does this mean I can have a mix of Docker containers and regular VMs connected to the Zalenium grid?

In theory yes, but we have not tested it enough. If you can help us with that, it would be cool. Also with some documentation :)

What advantages does the Zalenium grid offer over the regular Selenium grid?

TL:DR -> To avoid the headache of setting up and maintaining a grid. Plus taking advantage of the "immutable infrastructure" promise by Docker.
Longer version, it is well explained in our Why.

@diemol
Copy link
Member

@diemol diemol commented May 7, 2017

@TestAutomation85 I'll close this issue due to inactivity.
If you have more questions you can create a new one or just join our Gitter chat https://gitter.im/zalando/zalenium
We can also discuss these things there :)

@charmi25
Copy link

@charmi25 charmi25 commented May 22, 2020

docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /c/Users/raj/temp/videos:/home/seluser/videos \
    dosel/zalenium start

@diemol and @VigneshVRP
I tried above command on windows but I am getting below error:

Single Line Commad:
docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 -v /var/run/docker.sock:/var/run/docker.sock -v /c/Users/503173907/temp/videos:/home/seluser/videos dosel/zalenium start

C:\Program Files\Docker\Docker\resources\bin\docker.exe: Error response from daemon: invalid volume specification: '/var/run/docker.sock:/var/run/docker.sock'.
See 'C:\Program Files\Docker\Docker\resources\bin\docker.exe run --help'.

I tried searching for the problem a lot but not getting any proper solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.