import win32gui hwnd=(win32gui.FindWindow(None, "Tab_1 - Google Chrome")) hwndDCf = win32gui.GetWindowDC(hwnd) print(win32gui.GetPixel(hwndDCf, x_cord, y-