博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年5月31日

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

posted @ 2011-05-31 11:32 xshy 阅读(624) 评论(0) 推荐(0) 编辑