WebUI.takeScreenshot() taking long time to run

Hello Team,

I have been noticing since yesterday WebUI.takeScreenshot() is taking long time to run.

In some instances, it takes only 2 seconds but in some instances it takes + 10 seconds which was not the case before.

Instance when it took around 3 seconds to run :


Instance when it took 11.97 seconds


Instance in which it took less than 1 second.


Hey @manpreet.mukkar,

have you maybe tried deactivating the smart wait function, if that would not make your scripts fail:

@danzaaa981 You are correct, I had smart wait enabled but I am not sure when this got enabled as I exactly remember turning it off.

It porbably got enabled through an update, sometimes things like that can happen… Not the norm but they do happen…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.