Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用selenium 2.0单机版和perl脚本最小化/修复firefox浏览器窗口_Perl_Firefox_Selenium Server - Fatal编程技术网

如何使用selenium 2.0单机版和perl脚本最小化/修复firefox浏览器窗口

如何使用selenium 2.0单机版和perl脚本最小化/修复firefox浏览器窗口,perl,firefox,selenium-server,Perl,Firefox,Selenium Server,我使用selenium-server-standalone-2.41.0.jar作为selenium服务器,并使用perl脚本进行测试。然后selenium测试开始,Firefox窗口打开。我想把它缩小到尽可能小的窗口 我使用以下命令启动selenium: java -jar selenium-server-standalone-2.41.0.jar -firefoxProfileTemplate ./selenium.ff.profil 并尝试使用插件更改配置文件中的大小,但这不起作用。窗口

我使用selenium-server-standalone-2.41.0.jar作为selenium服务器,并使用perl脚本进行测试。然后selenium测试开始,Firefox窗口打开。我想把它缩小到尽可能小的窗口

我使用以下命令启动selenium:

java -jar selenium-server-standalone-2.41.0.jar -firefoxProfileTemplate ./selenium.ff.profil
并尝试使用插件更改配置文件中的大小,但这不起作用。窗口已调整大小

你知道如何修复Firefox窗口大小或使用perl缩小它吗