'Exception from HRESULT: 0X800A01B6' error in PowerShell when trying to enter login information to Facebook

前端 未结 3 1702
花落未央
花落未央 2020-12-16 06:07

I have this code written in PowerShell:

$username = \"xxxxxx\";
$password = \"xxxxxx\";
$url = \"www.facebook.com/login\";

$ie = New-Object -com internetexp         


        
3条回答
  •  抹茶落季
    2020-12-16 06:40

    Workaround Always use the following methods instead of the native ones:

    IHTMLDocument3_getElementsByTagName   
    IHTMLDocument3_getElementsByName
    IHTMLDocument3_getElementByID
    

    Thanks to Paul Lim Here

提交回复
热议问题