PageObject class

This annotation is required by the pageloader generator. Class level annotation, present on all page objects. If this is not present no generation will take place. The optional code parameter is used in the generated findChain() method, which helps WebDriver Test Creator to generate proper code without walking down the tree further. If that is not provided, it will go as deep as it can and append the corresponding code from defaultCode based on action.

Constructors

PageObject({Map<String, String>? code})
const

Properties

code Map<String, String>?
Code to generate in representation of page object and any element inside. Used by WebDriver Test Creator (go/webdriver-test-creator).
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultCode → const Map<String, String>