How to write the code for Selenium when a user click on a functionality on a browser that will open a new tab and have the focus on it?

We have a web application wherein a button when clicked will open a new tab on the browser. this new browser will have the focus during the run of the Selenium. We are having difficulty on doing this.

thanks for the help

Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.