Home > other >  About selenium call 911 agents, access to handle an error
About selenium call 911 agents, access to handle an error

Time:11-09

 
The from the selenium import webdriver
Driver=webdriver. Chrome ()
H=driver. Current_window_handle
Print (h)

I obtained from the above code of the current open Chrome window handle
B3b9cc7f4c57e8863739cab2d4b516 CDwindow - 66
But 911 API
ProxyAPI. Exe - changeproxy/US/NY - proxyport=5000 - HWND=your program's window handle
I write
 
ProxyAPI. Exe - changeproxy/US/NY - proxyport=5005 - HWND=b3b9cc7f4c57e8863739cab2d4b516 CDwindow - 66

Tip
Invalid HWND

Help everybody look at where the problem, thanks a lot
  • Related