Jump to content

Web driver - How to use _WD_ElementActionEx?

Recommended Posts

Is this the correct way to use this function if I want to rightclick an element  


      $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, '//*[@id="main-content"]/e3e-process/div/mat-card/e3e-process-item/div[2]/e3e-form-renderer/e3e-form/e3e-form-tabbed-view/div[1]/e3e-form-container-view/div[123]/div/e3e-bound-input/div/label/span')
      _WD_ElementActionEx($sSession, $sElement, "rightclick")
      if @Error then
         Msgbox(64, "", "Can't click insured name")

As I'm not getting an error box 


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...