Welcome to openkapow Sign in | Join
.

[How to?] Find a link with a given anchor

  •  04-16-2007, 7:59 PM

    [How to?] Find a link with a given anchor

    I have experienced a web page that changed its structure and my tag finder now fails. In fact, some links were moved around in the page, but the anchor (I mean the text of the link, for example: "look at this") is unchanged. Therefore, I have the feeling that it is more robust if I look for a tag based on the anchor.

     But I do not know how to do this.

    The link is like this: < a href = http://www._ _ _ _.html > Look at this page < /a > 

    I tried in the tag finder combinations of these:

    Tag path = .*.a

    Attribute name = "text" contains text "look at this"

    Tag path = .*.a.text

    Attribute name = "value" contains text "look at this"

    But all failed! Any help is welcome!

     

    Filed under: , , , , , ,
View Complete Thread
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy