Disable Open On New Tabs Feature



Hi all,

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 i get a new tab.

import webbrowser
import time
b = webbroser.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. AFAIU Python module cannot change the default behaviour of the webbrowser. Is there any way I can disable open on new tabs on epiphany browser?

--


With Regards,
Govinnage Rasika Perera,
Software Engineer, WSO2 Inc.
BSc. ICT, UCSC.| IEEE Student Member.

View Rasika Perera Govinnage's profile on LinkedIn
NOTICE: Confidential Notice: This email is confidential and this communication and any files transmitted with it are intended for the named addressee only. The communication may contain private and confidential material that may also be legally privileged information. If you receive this communication by error please advise G. Rasika Perera by email to info rasika gmail com and then delete the communication. 
☺ Consider the Environment before printing this email.

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]