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 implementationAdd a delay before continuing with the UI test flow.
Default Implementation
Declaration
Swift
@discardableResult func delay(_ delay: TimeInterval) -> SelfParameters
delaySeconds to add as delay
Return Value
itself to use in a chain of calls.
-
terminate()Default implementationTerminates an UI test
Default Implementation
Declaration
Swift
static func terminate()
View on GitHub
Install in Dash
PageObject Protocol Reference