PageObject

public protocol PageObject : PageObjectShould, PageObjectWhen

Abstract Page object to provide the default functionality for a concrete Page object.

Attention

None of these methods require a custom implementation. Everything is provided with internal extensions.
  • delay(_:) Default implementation

    Add a delay before continuing with the UI test flow.

    Default Implementation

    Declaration

    Swift

    @discardableResult
    func delay(_ delay: TimeInterval) -> Self

    Parameters

    delay

    Seconds to add as delay

    Return Value

    itself to use in a chain of calls.

  • terminate() Default implementation

    Terminates an UI test

    Default Implementation

    Declaration

    Swift

    static func terminate()