chromedriver commandtimeout的默认值是多少? [英] What's the default chromedriver commandtimeout value?

查看:254
本文介绍了chromedriver commandtimeout的默认值是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://selenium.googlecode.com/svn/trunk/docs/api/dotnet/html/M_OpenQA_Selenium_Chrome_ChromeDriver__ctor_4.htm

有人知道chromedriver commandtimeout的默认值是什么吗?谷歌搜索了,但什么也没找到.

Does anyone know what the default chromedriver commandtimeout value is? Did a google search but couldn't find out anything.

推荐答案

记住Selenium是开源.

Remember Selenium is open source.

可以通过检查ChromeDriver 来发现,如果未给出CommandTimeout值,它将恢复为RemoteWebDriver.DefaultCommandTimeout,我们可以

The answer to your question can be found by inspecting the ChromeDriver source to find out that if a CommandTimeout value is not given, it reverts to RemoteWebDriver.DefaultCommandTimeout, which we can see is 60 seconds.

对于所有驱动程序都是相同的(至少在.NET库中如此)

This is the same for all of the drivers (at least in the .NET library)

这篇关于chromedriver commandtimeout的默认值是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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