Selenium 获取当前隐式等待的值 [英] Selenium get value of current implicit wait

查看:28
本文介绍了Selenium 获取当前隐式等待的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意识到 Selenium 有一个默认值用于隐式等待,但是如果我改变它,我如何获得这个值?例如:

I realize that Selenium has a default value for implicit waits, but how do I get this value if I change it? For example:

driver.implicitly_wait( 13 );

我以后如何从驱动程序获取 13 值?

How do I later get the 13 value from the driver?

推荐答案

遗憾的是没有解决方案.

Unfortunately there's no getter for that.

http://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/WebDriver.Timeouts.html

也没有显式等待.

http://selenium.googlecode.com/svn/trunk/docs/api/java/com/thoughtworks/selenium/Wait.html

这篇关于Selenium 获取当前隐式等待的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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