开发者

Unable to invoke multiple browsers using JSTestDriver

开发者 https://www.devze.com 2023-01-23 23:38 出处:网络
Hi The JSTestDriver documentation say... \"Multiple browsers can be specified if separated by a comma \',\'.

Hi The JSTestDriver documentation say...

"Multiple browsers can be specified if separated by a comma ','. java -jar JsTestDriver.jar --port 9876 --browser firefoxpath,chromepath"

So far I can only open one browser. L开发者_开发百科ets say if I want to open IE and Chrome, the below command only opens IE.

C:\libs>java -jar JsTestDriver.jar --port 9876 --browser "C:\Program Files\Internet Explorer\iexplore.exe, C:\Program Files\Google\Chrome\Application\chrome.exe"

Can anyone please help me?


have you try using the --captureConsole flag, so it'd look like this:

C:\libs>java -jar JsTestDriver.jar --port 9876 --browser "C:\Program Files\Internet Explorer\iexplore.exe, C:\Program Files\Google\Chrome\Application\chrome.exe" --captureConsole

Keep in mind that in JSTD version 1.3.1 this does not seem to work ( http://code.google.com/p/js-test-driver/issues/detail?id=199&q=browser%20capture )... But in 1.2.2 that should work

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号