none
IE tagの検索 RRS feed

  • 質問

  • こんにちは。

    IEのobjectのtagの中身を検索するにはどうしたらよいでしょうか?
    html sourceがこのようになっていて
    <td class="alt1"><a class="smallfont" href="http://www.forex-tsd.com/expert-analysis/5626-eas-files-4.html" title="Last Page - Results 31 to 31 of 31">Last <strong>&raquo;</strong></a></td>
    「Last≫」に張られているリンク先に飛びたいのです。

    $last = @($ie.document.getElementsByTagName("A")) | where {$_.innerText -eq 'Last '}
    $ie.navigate($last[0].href)

    これではLastに飛べませんでした。

    whereで検索する文字列で
    tag name の Last Pageを検索するにはどうしたらよいでしょうか?

    'Last ≫' もためしましたが、NGでした。

    pjo


    2008年2月15日 5:37

回答