Use Selenium with Chromium Browser

前端 未结 6 1318
不知归路
不知归路 2020-12-05 10:50

In the Selenium options (on Firefox) I can find Custom browser.

Is it possible to use this option to run a Selenium test in Chromiu

6条回答
  •  抹茶落季
    2020-12-05 11:24

    On unix systems, you can do something like

    sudo ln -s /usr/lib/chromium-browser/chromium-browser /usr/bin/google-chrome
    

    and then you can use "*googlechrome" as the lauch parm when creating your DefaultSelenium instance.

提交回复
热议问题