Hierarchy

  • UiComponent
    • WebdriverIoComponent

Constructors

  • Parameters

    • options: UiComponentOptions

    Returns WebdriverIoComponent

Properties

_driver: unknown
_locator: unknown
_parent: Func<void, Promise<unknown>>
aftCfg: AftConfig
reporter: ReportingManager

Accessors

Methods

  • creates a new UiComponent instance of the specified type passing in the driver, aftConfig, reporter and () => this.getRoot() as parent

    Type Parameters

    • F extends UiComponent

    Parameters

    • componentType: Class<F>

      a class extending from UiComponent providing a Page Object Model interface with the DOM

    • Optional options: Partial<UiComponentOptions>

      an object allowing for overrides to the default driver, locator, parent, reporter and aftConfig objects

    Returns F

    an instance of the specified UiComponent class

Generated using TypeDoc