Any help would be appreciated.
<div><a href="http://www.somelink.com">all-time today</a></div>
<div><a href="http://www.somelink.com">all-time yesterday</a></div>
Code: Select all
links := WB.document.all.tags("div").length
loop %links%
{
link := WB.document.all.tags("div")[A_Index-1].innerHTML
If link contains all-time
{
WB.document.all.tags("div")[A_Index-1].click() ; <---- this is where I'm not sure what to do
}
}