I am using epiphany webbrowser in my Raspberry Pi project. According to the requirement I need to open a link on the same tab using python webbrowser module. But each time a new tab is opened although I've given the parameter new=0
import webbrowser
import time
b = webbrowser.get('epiphany')
b.open('http://www.google.com', new=0)
time.sleep(5)
b.open('https://stackoverflow.com', new=0)
Any way to resolve this? I need to open urls on the same tab. Any solution from the webbrowser's perspective or python webbrowser module's perspective is highly appreciated.