Skip to content

[Docs]: unknown parameter seconds when calling context.wait #253

@zhongkechen

Description

@zhongkechen

Issue

context.wait method doesn't accept a named parameter seconds

    context.wait(seconds=30)

wait method signature:

def wait(self, duration: Duration, name: str | None = None) -> None:

Page/Location

context.wait(seconds=30, name="payment_confirmation_wait")

context.wait(seconds=10, name="approval_wait")

Suggested Fix

  context.wait(Duration.from_seconds(30))

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions