Can selenium meshes and Node URLs be used with security?

I am in a situation where I run my GridServer and nodes in the cloud and

when I want to access the used grid: http://someip:4444/grid/console

When I want to access node, I use: http:someip:<nodeport>/wd/hub

I think this is a kind of threat since IP addresses are publicly available. How can I limit that it should not be opened by external users.

Is there any solution for this?

+4
source share
1 answer

Selenium does not support this.

For these purposes, you must make a p2p connection between you and the grid. The VPN or ssh tunnel will work. Just move the remote server port to the local port:

ssh user@SERVER -L 4444:127.0.0.1:4444

4444 "SERVER". ssh, .

+3

All Articles