Why is the url not opening in python?
Answered by PYer (4015) [earned 5 cycles]
Is this what you mean?
import webbrowser url = 'http://www.python.org/' # Open URL in a new tab, if a browser window is already open. webbrowser.open_new_tab(url + 'doc/') # Open URL in new window, raising the window if possible. webbrowser.open_new(url)
The webdriver module opens the url requested in a browser window. The repl.it interface can't do that. Instead you could do this: https://repl.it/@CaptainAnon/Requests-Library-Demo