Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How can I export table row in internet explorer?

$
0
0

I need to export a single table row on a website and I can't figure out how to do it.  The source view for the row I need is:

trclass="alt"><tdid="16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE">16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE</td><td></td><td></td><td>0.00065227</td><td>0.01233629</td><td>0.00371003</td></tr>

I can get the table ID using the code below, but I don't know how to get the rest of the values. The table ID does not change but the numerical values do.

$ie = New-Object -com InternetExplorer.Application
$ie.silent = $false
$ie.navigate2("mywebsite.com")
$ie.Document.getElementById("16ZwhxLjCN8fafA8wuYEnMFtGJGrFy6qcE")


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>