0

I am havin trouble setting up implicit wait in my test cases. I am using browser.setTimeout({implicit: 3000}) in before hook, the test runs just fine, throws no exceptions but it does not wait for an element to load so the list of elements I am trying to locate is returned empty. I know I can use explicit wait but in this case it is just a 2 second wait and declaring explicit wait every time is a pain. Does anyone know whether Implicit wait is outdated? I just started using WDIO with JS

0 Answers0