[英]c# selenium webdriver using firefox portable
我想将硒与便携式firefox一起使用,并且需要在硬盘的两个位置使用两个具有不同配置文件的firefox,但是在创建时
FirefoxBinary和FirefoxProfile,然后是FirefoxDriver,浏览器警报=
您的Firefox配置文件无法加载。 它可能丢失或无法访问
请帮我谢谢
这仅表示硒无法找到您的硒资料。 您有两种选择:
对于#2
,您只需要传递参数:
-firefoxProfileTemplate /path/to/selenium.profile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.