硒的webdriver管理的速度? [英] selenium webdriver manage speed?

查看:198
本文介绍了硒的webdriver管理的速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了我的硒的webdriver从一个很老的版本,让我通过以下控制驱动器速度:

I've just updated my selenium WebDriver from a pretty old version which allowed me to control the driver speed via the following:

var _driver = new FireFoxDriver();
_driver.Manage().Speed = Speed.Medium;



安装Firefox 7后,运行Selenium测试我的项目没有再工作。所以我升级通过的NuGet DLL的为2.8.0.0,现在管理速度已经的能力。

after installing FireFox 7, running the selenium tests my project no-longer worked. so i upgraded the dll's via nuGet for 2.8.0.0 and now the ability to manage the speed has gone.

任何其他方式做到这一点?

any other way to do this?

非常感谢

推荐答案

只是每次操作后使用Thread.Wait(3000)..不理想,但作品

just used Thread.Wait(3000) after each action.. not ideal but works

这篇关于硒的webdriver管理的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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