Skip to content

setAuthorizeLocatorForOAuth (wsCONNECT)

Compatible with:
  • Purpose
  • This command is used for OAuth authentication type. This command is used for grant types of authorization code, authorization code with PKCE, implicit flow. This is the locator of the element that user should click to approve the access. This expects the application is already logged in and the authorization URL redirects directly to the approve access page.
  • Syntax
  • setAuthorizeLocatorForOAuth (locator of approve button)
  • Target
  • {locator}
  • Value
  • N/A
  • Return Value
  • N/A

Example(s):


 

Feedback and Knowledge Base