1

I want to open a link using python on same tab. I use web browser module but all open in default browser ,but I want to open in same browser and same current tab.

webbrowser.open(URL)
webbrowser.open_new_tab(URL)
Nikunj
  • 3,937
  • 19
  • 33
  • 1
    Could you please post a sample of your code so we can see exactly what you're doing? – Deem Apr 28 '17 at 05:52

1 Answers1

0

Once you open webPage you have no controll over the page. As webbrowser open command will retrun True or False depending on either webpage successfully open or not.

Chintak
  • 61
  • 5