首先保证firefox版本号和RC的版本兼容
其次手动指定firefox主程序路径,例如:
new DefaultSelenium("localhost", 4444, "*custom C:\\Program Files\\Mozilla Firefox\\firefox.exe", "http://www.abc.com/");
最后,设置firefox的代理服务器为selenium-server,即此处例子为:localhost:4444
首先保证firefox版本号和RC的版本兼容
其次手动指定firefox主程序路径,例如:
最后,设置firefox的代理服务器为selenium-server,即此处例子为:localhost:4444