0

I'm working on a Winium project in the Java flavour.

How do I set the default timeout? The default one is really long.

Thank you

Zoette
  • 1,241
  • 2
  • 18
  • 49

1 Answers1

-1

I always put this way in a class called AbstractPageObject or as you like to call yourself.

public static void sleep() {
    try {
        Thread.sleep(4000);
    } catch (InterruptedException e) {
        e.printStackTrace();
    };

}