Solved

Web automation active tab element issue

  • 2 May 2023
  • 4 replies
  • 129 views

Userlevel 1
Badge +5
  • Automate the Universe SME
  • 26 replies

I’m having issue grabbing elements on the page that opens in a new tab. 

Anyone else experiencing similar issues? 

 

I used Browser Automation and Web Automation package - getting same result. 

 

 

icon

Best answer by Sumit.K7 2 May 2023, 15:38

View original

4 replies

Userlevel 3
Badge +6

You have to select the new window, then the script will know which window to action on.

Use get window handles and set window handle to desired window before further actions.

Userlevel 1
Badge +5

You have to select the new window, then the script will know which window to action on.

Use get window handles and set window handle to desired window before further actions.

 

Thanks for your prompt response!

Just to confirm is this the package you are referring to? 


 

Badge +7

Hello! I am having this same issue. Using Web automation package. wondering if you were able to solve for this? I tried using Window: Activate but its like the web package doesn’t recognize the new window as part of the session. Wondering if I need to start a new session and give it the port for the new page but also not sure how to get the port.

Badge +1

Hi All, I am also experiencing retrieving DOM element data through the bot using this Web Automation Package? Is this a compatibility issue? I can use the recorder on another Edge/Chrome window outside of the Web Automation Package, it works fine gathers all the required Dom elements/attributes. When I use this package, the elements that are captured are very minimum and cannot be used. Why is this?

Reply