I want to open the device manager on windows, but when I want to press tab with pyautogui I can't get the first entry.
Expected result: marked the 1st entry (destop)
Got result: Nothing
Here's my python code:
import pyautogui
import time
import keyboard
pyautogui.hotkey('win', 'r')
pyautogui.write("devmgmt.msc")
pyautogui.press("enter")
time.sleep(2)
pyautogui.press("tab")
pyautogui.press('tab')
# keyboard.press_and_release('tab')
I would be glad if someone could help me