Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

web-scraping

$
0
0

Hi.  I'm brand new to this site and also new to PowerShell.  I am trying to do something which should be simple, but doesn't work for me.  I am trying to log on to a website with IE10, and create a list of links using the DOM method getElementsByTagName.  the statement is:

$anchors 

 

 

 

 

 

=$doc.getElementsByTagName("a").  ($doc is set to $ei.document.)  I can redirect to the page I'm interested in, but the above statement does not return anything.  Any help would be appreciated.


Viewing all articles
Browse latest Browse all 6937

Trending Articles