/
UI Wait for (sui:wait-for)

UI Wait for (sui:wait-for)

For any given pageObject, wait-for will wait for given timeout (in seconds) before throwing exception. 

Usage

<sui:wait-for method=""! pageId=""! timeout=""?/>

! - mandatory, ? - optional

Supported Methods

  1. presence

  2. absence

  3. visibility

  4. invisibility

  5. enabled

  6. clickable

  7. unclickable

there is a default wait-for in each click (clickable), get-text (visible)... so use this when you don't want to interact with it just you have to make sure it is any of the supported methods

Examples

 



Related content