Forum Discussion
kavithamsse
Apr 12, 2022Copper Contributor
How to close Specific tab on Edge Browser programmatically?
Hi All, We were previously using Internet Explorer and now planning to support Microsoft Edge. We have .NET 4.8 based desktop application that launches Internet explorer and closes it by proc...
josh_bodner
Apr 12, 2022Former Employee
We do expose tab management functionality through various APIs like Web Driver and extensions, so adding that for your application to call may be one way of achieving that.
kavithamsse
Apr 14, 2022Copper Contributor
Hi josh_bodner,
Thanks for your reply.
Can you please suggest specific web driver/extension that can be used to achieve the functionality for closing a specific tab/window on edge brower programmatically?
Thanks & Regards,
Kavitha
Thanks for your reply.
Can you please suggest specific web driver/extension that can be used to achieve the functionality for closing a specific tab/window on edge brower programmatically?
Thanks & Regards,
Kavitha
- josh_bodnerApr 15, 2022Former EmployeeIn order to interact with your existing application, this is something that would have to be custom written for your environment.
- kavitha88Apr 15, 2022Copper ContributorHi josh,
Can you please provide links to documentation/sdk for custom development to interact my application (wpf/c#) with Edge Browser for tab management functionality?
Thanks & Regards,
Kavitha- josh_bodnerApr 15, 2022Former EmployeeSure, you can use the public Chromium extension documentation at https://developer.chrome.com/docs/extensions/mv3/getstarted/ and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension if you want to go the extension route.
If you want to use web driver, you can use our documentation at https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp or the official Web Driver documentation at https://www.selenium.dev/documentation/webdriver/getting_started/.