How to increase the execution speed through Selenium and Webdriver

萝らか妹 提交于 2019-12-02 00:16:44

A simple step to make your script/program faster would be to:

  • Remove all the instances of ImplicitWait as:
    • You are extensively using WebDriverWait i.e. Explicit Wait

As per the documentation of Explicit and Implicit Waits:

WARNING: Do not mix implicit and explicit waits. Doing so can cause unpredictable wait times. For example setting an implicit wait of 10 seconds and an explicit wait of 15 seconds, could cause a timeout to occur after 20 seconds.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!