Does openshift work with GUI stuff like Selenium?

I have a python application I wanted to setup in the cloud...

If there isn't, is there a workaround I can use? The application logs into a website and does something for a few seconds..

有帮助吗?

解决方案

yes, you can use OpenShift to host Selenium Hub / Node(s).

We have official Docker Containers, that may be used in conjunction with OpenShift templates.

Lucky enough, I was using OpenShift at my place of employment, and created Selenium Hub/Node templates for openshift using the official selenium docker containers.

Selenium Hub

Chrome

Firefox


Source

其他提示

Although Selenium Grid is the most popular browser automation architecture nowadays - it is neither the most suitable for Openshift, nor the most efficient one. Selenium Grid is storing running sessions list in memory thus making it impossible to have several replicas behind reliable load balancer. This makes traditional Selenium Grid in Openshift not fault-tolerant.

One possible (commercial) alternative is Moon - an efficient Selenium solution made particularly for container management platforms such as Openshift and Kubernetes. Moon is a bulletproof stateless solution that can have an unlimited number of pods being run in parallel behind load balancer. Documentation with deployment instructions is here.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top