Nexial Automation

Test Automation Platform for everyone!

X

web » clickIfPresent(locator)

Description

This command essentially works the same way as click(locator), with the exception that a failure to locate the target element via locator would not result in a FAIL result. Instead, if the specified locator cannot be found, Nexial simply end the corresponding step with a PASS.

For more information about the click command, please read the click(locator) command reference page.

Parameters

  • locator - the locator of the target element.

See Also