“how to Move URL to new tab, when clicked on a button in original page ” using selenium webdriver? Please note button has a URL embedded in button.

on a web page, have button with a link embedded in it. I have coded for clicking the link and the link is getting  open up in new browser window. But, i want to open up it in new tab.   i tried  sendKeys(Keys.CONTROL +”t”), which is opening new tab, but my link  is not getting open up in new tab.

“how to click a button link in new tab” using selenium webdriver? Please note i ts a button

Default Asked on July 10, 2018 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

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