Web Path Monitoring a Site Using Okta Authentication Errors with: waitForElementPresent timed out after 30s
search cancel

Web Path Monitoring a Site Using Okta Authentication Errors with: waitForElementPresent timed out after 30s

book

Article ID: 257897

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction


Using a Web Path to monitor a site using okta authentication. When checking for the presence of the username field a 'waitForElementPresent timed out after 30s' is generated even though the page appears to load

 

Environment

Release : SAAS

Resolution


The Web Path Site being monitored uses okta authentication and the script was checking
   for  waitElementPresent  id=okta-signin-username (although, when manually checking
   the page it seems to show  id=idp-discovery-username)

replaced:
        id=okta-signin-username

with:
        xpath=//*[contains(@id,"username")]




After this the Web Path completes successfully and is able to authenticate (full script not shown)