Docker-selenium support for Safari & IE Browser?

1,619 views
Skip to first unread message

Malarvizhi Ganesan

unread,
Nov 1, 2020, 1:35:52 PM11/1/20
to Selenium Users
Hi All, 

Greetings, 

Using docker-selenium, we could create dockerized selenium grid architecture & run it in app hosting (Openshift) environment. Currently we are using chrome browser for our testing. 

Now, there is a requirement to run all tests in safari browser also. I was looking for selenium node with safari. i couldn't find any.

1. Do we have docker-selenium support for Safari & IE Browsers? 
2. Is it possible to create selenium node - safari docker image on our own?
3. Any other approach/solution to achieve this in existing framework?

could you please help?

Tom Bradbury

unread,
Nov 5, 2020, 4:06:07 AM11/5/20
to seleniu...@googlegroups.com
It will be available soon

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/8251697c-73bf-4228-b362-e15b2a7adb91n%40googlegroups.com.

Malarvizhi Ganesan

unread,
Mar 11, 2021, 12:59:40 AM3/11/21
to Selenium Users
Thanks for replying Tom Bradbury.

Any update on this?
Could you please share if you have any link to refer regarding this activity?

Diego Molina

unread,
Mar 11, 2021, 8:15:24 AM3/11/21
to Selenium Users
Safari and IE cannot be executed in docker containers in a lightway mode. Therefore, there is no feature or work planned to add support for this.
In addition, for IE you'd need a Windows license and Safari (as part of macOS) can only run on Apple hardware.

David

unread,
Mar 12, 2021, 6:02:08 PM3/12/21
to Selenium Users
Just some food for thought. The question you ask might also depend on what versions of Safari & IE you are targeting. Depending on the versions, there may be unofficial possible means to get partial coverage for option 2 of creating your own node image, but this is of course untested & experimental.

Partial coverage in that the underlying OS would be Linux, not Windows or Mac, the browser runs under WINE on Linux, and perhaps via XVFB (or maybe VNC, x11 forwarding) to provide headless options.

Safari would only be applicable for Safari 4 or 5 (on Windows), to which you can attempt to get the installer/binary online https://apple.stackexchange.com/questions/68836/where-can-i-download-safari-for-windows and package it in a docker image that includes WINE and selenium grid support - you may have to opt for an older Selenium release 2.x (or 3.x)? where it supported the older Safari version via a plugin extension on Safari to provide the SafariDriver support (which I think worked on Windows as well). This could be doable if you are testing browser support of Safari that doesn't target anything specific to newer versions of Safari. Because I recalled Safari 5 on Windows was usable enough to represent Safari 5 on Mac.

IE would be the same way running IE under WINE in docker, but according to this https://appdb.winehq.org/objectManager.php?sClass=application&iId=25, only IE 7 & 8 are usable under WINE. And even then, being WINE/Linux, IEDriver might not even work (or work well) under that environment for the Selenium support.

Additional References

Reply all
Reply to author
Forward
0 new messages