我怎么能告诉硒启动Firefox的某些命令行选项? [英] How can I tell selenium to start firefox with certain commandline options?

查看:200
本文介绍了我怎么能告诉硒启动Firefox的某些命令行选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了一个自定义的firefox二进制文件,它依赖于特定的命令行参数。



如何告诉selenium在执行firefox二进制文件时使用这些参数?

看起来有一个方法:FirefoxBinary.addCommandLineOptions()

这可能是答案...

I'm using a custom firefox binary with selenium that is dependant on specific commandline parameters.

How can I tell selenium to use these parameters when executing the firefox binary?

解决方案

oops, it seems there is a method: FirefoxBinary.addCommandLineOptions()

That's probably the answer...

这篇关于我怎么能告诉硒启动Firefox的某些命令行选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆