CentOS Selenium - 准备Firefox的配置文件 [英] CentOS Selenium - Preparing firefox profile
问题描述
java -jar selenium-server-standalone-2.19.0.jar - 然后,我输入:
cmd = getNewBrowserSession& 1 = * firefox& 2 = http://www.google.com
b
$ b
然后在正在准备Firefox配置文件...部分进行搜索并崩溃:
lockquote
13: 59:13.105信息 - 准备Firefox配置文件... 13:59:33.366错误 -
无法启动新的浏览器会话,关闭浏览器并清除所有
会话数据
blockquote>
请帮我解决这个问题,我对unix世界相当陌生。
Thanks!
你可以定义一个特定的firefox配置文件(你必须先创建它):
java -jar selenium-server.jar -log SeleniumServer.log -firefoxProfileTemplatePROFILEPATH-interactive
I'm trying use to selenium with firefox on CentOS from command line like this:
java -jar selenium-server-standalone-2.19.0.jar -interactive
Then, I type: cmd=getNewBrowserSession&1=*firefox&2=http://www.google.com
Then it stucks on "Preparing Firefox profile..." part and crashes:
13:59:13.105 INFO - Preparing Firefox profile... 13:59:33.366 ERROR - Failed to start new browser session, shutdown browser and clear all session data
Please help me solve this, I'm quite new to the unix world. Thanks!
you could define a specific firefox profile (you have to create it first):
java -jar selenium-server.jar -log SeleniumServer.log -firefoxProfileTemplate "PROFILEPATH" -interactive
这篇关于CentOS Selenium - 准备Firefox的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!