Selenium - Custom Firefox profile

拈花ヽ惹草 提交于 2019-11-29 15:50:24

I think the problem was actually the location of the profile.

I created a new profile and put it in "c:\lib\selenium\ff_profile" as suggested on: http://agileqatesting.com/?p=27

and it seems to work correctly!

so the line in the batch file now looks like

java -jar selenium-server.jar -firefoxProfileTemplate "C:\lib\selenium\ff_profile"

The way you start your server is correct, just do not mention the user home directory (~/) then it should be fine. I am not sure if the backward slash () works, if not try out with forward slashes (/):


java -jar selenium-server.jar -firefoxProfileTemplate "C:\Documents and Settings\dadams\Application Data\Mozilla\Firefox\Profiles\k39jzisz.SeleniumUser"
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!