当用作autoit的winwait函数中的窗口时,Chrome不会返回句柄(同时chrome udf函数也不起作用)

时间:2017-05-23 03:58:02

标签: autoit

#Include <Chrome.au3>

_ChromeShutdown()
_ChromeStartup("https://accounts.google.com/signin/v2/identifier?hl=en-gb&flowName=GlifWebSignIn&flowEntry=ServiceLogin")
$result = WinWait("[CLASS:Chrome_RenderWidgetHostHWND]", "", 6)
Sleep(3000)
ConsoleWrite($result)
Send("XXXXXXXXXXXXXXX")
Send("{Enter}")

**RETURN = 0**

0 个答案:

没有答案