About 112,000 results
Open links in new tab
  1. How to switch to new window in Selenium for Python?

    When I click a link on the home page, a new window opens. In the newly opened window I cannot perform any actions, because the focus is still on the home page web driver. Can anybody …

  2. How can let Selenium to operate at the Broswer Print Dialog?

    Apr 21, 2022 · When I was using Selenium, there was a Print Dialog jump out from the Chrome, ``` driver.switch_to.window (driver.window_handles [1]) ```

  3. How to switch between two windows in browser using Selenium java

    I remember having this problem and asking on #selenium in the IRC. What's intresting to try out was something pointed out to me. I edited the code so it can make clear, but you must …

  4. Why we only using Set collection to store no of windows

    Jun 23, 2016 · The WebDriver API contract itself has been written such that it returns back a Set of Window Handles. So you adhere to the contract and consume the window handles as a set.

  5. How to handle the new window in Selenium WebDriver using Java?

    It seems like you are not actually switching to any new window. You are supposed get the window handle of your original window, save that, then get the window handle of the new window and …

  6. Selenium/Chromedriver hangs on a new tab containing an alert

    Jun 1, 2017 · When you click the link on the alert.html it will open a new window but then IMMEDIATELY this new window will open an alert. I believe once the alert is open you are …

  7. Selenium - How to get the number of tabs opened in a window?

    Same with selenium: switch to that window and check if it displays the page you expect. And if you manually wanted to check that link opens a new window, you'd notice which windows you …

  8. c# - Popup's in selenium webdrivers - Stack Overflow

    12 So I'm working with selenium firefox webdrivers in c# winform and I have this code below to get the handle of the popup that shows when you click on the "webtraffic_popup_start_button" …

  9. Selenium webdriver window handles c# switchTo failed

    Selenium webdriver window handles c# switchTo failed Asked 13 years, 5 months ago Modified 6 years, 1 month ago Viewed 42k times

  10. How can selenium web driver get to know when the new window …

    Feb 8, 2012 · I am facing an issue in automating a web application using selenium web driver. The webpage has a button which when clicked opens a new window. When I use the following …