Skip to content

Setting implicit wait timeout when using PageFactory #203

Description

@Simon-Kaz

The following:
driver.manage().timeouts().implicitlyWait(0);

Doesn't affect the implicit wait - i still have to wait the time specified in Page Factory.

And the following:
PageFactory.initElements(new AppiumFieldDecorator(driver, 0, TimeUnit.SECONDS), this);

Doesn't work - my app is still waiting the originally set timeout before confirming that the element has not been found. The original set timeout was 10 seconds and this is what I see in logs:

info: [debug] Set Android implicit wait to 10000ms

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions