BaseScreen Methods

Activate

Activates this Screen to make it ready to interact with it. By default just calls WaitFor(), but can be extended to maybe additionally give the focus to this screen.

Syntax:

public virtual void Activate()

ScrollToElement

Uses the Scroller of the screen to scroll to the provided element.

Syntax:

public void ScrollToElement(
    OnScreenElement element
)

Parameters:

Parameter

Description

element

Type: OnScreenElement The element that shall be searched on the screen.

Exceptions:

Exception

Condition

When the element is not found after scrolling through the complete range.

ArgumentNullException

When the provided element is null.

Last updated