oemript Posted February 12, 2018 Share Posted February 12, 2018 I would like to know on how to code following task in PowerShell Script. $oIE = _IECreate("Google.com") $oInput = _IEGetObjById($oIE,'lst-ib') _IEFormElementSetValue($oInput,"test") _IEAction($oInput,"blur") $sXpath = "//li[@class='sbsb_c gsfs')]//div[@class='sbqs_c']" $aReturnResults = BGe_IEGetDOMObjByXPathWithAttributes($oIE,$sXpath,5000) _ArrayDisplay($aReturnResults) For $i = 0 To UBound($aReturnResults)-1 ConsoleWrite($aReturnResults[$i].Innertext & @CRLF) Next Does anyone have any suggestions? Thanks in advance for any suggestions Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 13, 2018 Moderators Share Posted February 13, 2018 Moved to the appropriate forum "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now