Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA

前端 未结 14 1203
眼角桃花
眼角桃花 2020-12-25 13:10

I am not able to run my script in any of the browsers. Below is the error i get for firefox. The location where firefox is installed is correct. Dont know what is wrong.

14条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-25 14:03

    For some reason, adding the environment variable didn't work for me.

    I was able to specify a path to Firefox in the command line node configuration, as described on this page (grid2).

    -browser “browserName=firefox,version=3.6,firefox_binary=c:\Program Files\Mozilla Firefox\firefox.exe ,maxInstances=3, platform=WINDOWS”
    

提交回复
热议问题