[Solved] How to get the result of the Chrome search box? [closed]


You have to add this code after your code:

desktop = pywinauto.Desktop(backend='uia', allow_magic_lookup=False)
window = desktop.windows(title="New Tab - Google Chrome", control_type="Pane")[0]
result = window.descendants(control_type="StatusBar")[0]
print(result.texts())

0

solved How to get the result of the Chrome search box? [closed]