Python Forum
search for a data in my browser via script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
search for a data in my browser via script
#4
If you just want to search and display that in browser,
you can do it like this.
import webbrowser

search_word = 'Rose'
url = 'https://www.google.com/#q={}'.format(search_word)
# Open url in new tab in default browser
webbrowser.open_new_tab(url)
Reply


Messages In This Thread
RE: search for a data in my browser via script - by snippsat - Feb-06-2017, 04:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  webdriver.remote to connect back existing browser without open new browser? gahhon 6 6,913 Feb-26-2019, 03:53 PM
Last Post: gahhon

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020