![]()
I'm opening a webpage in the default webbrowser on the system using python's webbrowser module.
I want to check if the site is already open in the browser and only open a new tab/window if it is not. Otherwise reload the already opened page.
Is there a way to do this with webbrowser module? If not, is there any other module i can use to do this.
解决方案
I don't think this is currently possible with the webbrowser module. There was a bug filed for this, but it was closed with status "Won't fix":
|