Answers for "how to get current google tab in python"

0

how to get current google tab in python

from pywinauto import Application # import pywinauto
app = Application(backend='uia')
app.connect(title_re=".*Chrome.*")
element_name="Address and search bar"
dlg = app.top_window()

url = dlg.child_window(title=element_name, control_type="Edit").get_value() # get url from database
print(url)# print url
# -/\-/\-/\-/\-/\-/\-*** HAPPY CODING ***-/\-/\-/\-/\-/\-/\-/\-
Posted by: Guest on October-19-2021

Code answers related to "how to get current google tab in python"

Python Answers by Framework

Browse Popular Code Answers by Language