It seems to me that Python's webbrowser 'new=0' functionality (see here), which opens a new url in the same tab or window, is not ever working.
The documentation uses dodgy language like "if possible" to mask this problem.
Has anyone seen any success with this functionality in the webbrowser module? Are there any known workarounds to achieve this functionality?
I have tried setting the webbrowser with
webbrowser.get()
before continuing with opening urls. I have also tried using a slew of different browsers, however still have seen no success. Is this just not possible anymore? Should I just use selenium?
Among others, I have checked out this post from 7 years ago. I am hoping things have changed since then and people have found a way around this.
Any help or insight is much appreciated.
Aucun commentaire:
Enregistrer un commentaire