Selenium get value of current implicit wait

前端 未结 5 1845
悲&欢浪女
悲&欢浪女 2021-01-17 15:50

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

<         


        
5条回答
  •  情书的邮戳
    2021-01-17 16:09

    For those who came here from google. In 2018 it seems like there is a method to get those timeouts at least in javascript (I know question was about java):

    const {implicit, pageLoad, script} = await driver.manage().getTimeouts();
    

    Hope this will help.

提交回复
热议问题