Security in Selenium 2?

前端 未结 2 833
-上瘾入骨i
-上瘾入骨i 2021-01-15 00:52

I was asking myself if Selenium has any possibilities to secure the communication in Selenium Grid for example. As far as I know Selenium communicates via JSON and Selenese

相关标签:
2条回答
  • 2021-01-15 01:35

    Quick hack: make an ssh tunnel.

    Forward remote server's port 4444 as a local port using following ssh command:

    ssh user@remotesrv -L 4444:127.0.0.1:4444

    Now when you connect to your local port 4444, it actually connects to your server's port 4444 on a secure link. Refer to this link for tutorial.

    Afterwards, just open the remote web driver as you normally do.

    This will now be on a secure link.

    0 讨论(0)
  • 2021-01-15 01:42

    You would have to run your own SSL proxy in front of the hub and the nodes. It is presumed that you aren't publicly exposing your grid.

    0 讨论(0)
提交回复
热议问题