About 3,660,000 results
Open links in new tab
  1. Visual Studio closes all browser windows - Stack Overflow

    Jun 2, 2025 · A few days I ran into this weird behaviour: every time I stop debugging a web app VS closes all browser windows (all Chrome or all Edge), not just the window it started. In …

  2. How to capture the browser window close event? - Stack Overflow

    Oct 27, 2009 · How long does the browser take to finally shut your page down? Whenever an user closes the page (x button or CTRL + W), the browser executes the given beforeunload …

  3. How to stop browser closing automatically when you stop …

    Nov 22, 2016 · For VS 2019: if anyone's looking for the last option (Stop Debugger when browser window is closed), they've moved it to Tools > Options > Projects and Solutions > Web …

  4. Trying to detect browser close event - Stack Overflow

    Dec 31, 2013 · By "close," do you mean exiting the browser application completely or simply closing a tab or window? Of course, closing the last open tab or window is probably the same …

  5. Difference between webdriver.Dispose(), .Close() and .Quit()

    Feb 16, 2015 · Close() - It is used to close the browser or page currently which is having the focus. Quit() - It is used to shut down the web driver instance or destroy the web driver …

  6. asp.net - Stop Visual Studio from launching a new browser …

    Oct 22, 2015 · I was looking for a way to stop visual studio from launching a new browser when starting debug, but open a new tab in current browser instead. It makes no sense why, but …

  7. Tosca: Close browser if open - Stack Overflow

    Jul 26, 2022 · I would like to close the browser completely before opening it when starting a test case. Is there a way I can tell Tosca to close a browser if it is open?

  8. How to close current tab in a browser window? - Stack Overflow

    Jan 16, 2010 · Find solutions to close a browser tab using JavaScript on Stack Overflow. Explore methods and limitations for different browsers.

  9. Is there a way to close a tab in WebDriver or Protractor?

    Apr 8, 2015 · There is also window.close() function, but it would not close the tab if it was not opened via window.open() (reference). In other words, if this is a tab you manually open, then …

  10. tosca - Unable to open and close browsers - Stack Overflow

    Jan 9, 2022 · After closing the browser in the first test case give 2 sec wait. What's happening here is that when Tosca tries to close the browser, it executes a command which will take …