web » clickByLabelAndWait(label,waitMs)
Description
This command instructs Nexial to click the first element that contains label
, with a custom wait time (waitMs
) as
specified for the resulting page to load. Note that if there are more than 1 element with text that matches the
specified label
, only the first matching element will be considered by this command.
Parameters
- label - this parameter is actual label name displayed for the element.
- waitMs - this parameter is the time to wait(time should be defined in milliseconds)
Example
Output: