문제

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