Filter from webpage by search
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-16 07:24 PM
Hi,
I'd like to fetch an information that is dynamic with no proper ids/classes from a webpage.The scenario is, that I need to search the webpage for a particular text. If I find it I'll have to click it. Else, throw an exception. Manually it is done by pressing Ctrl+F to search in the webpage and it is clicked when found.How can I automate such a scenario?
Thanks
VJ
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-16 08:31 PM
Is it possible to spy/identify an example of the link you need to click upon and then make one or more of the attributes of that element dynamic - so that you can set the text to search for at runtime?
For example, you may want to click a link containing the text 'Find Me'. This text is part of the attribute value for the one of the HTML attributes. You would just set that attribute to be dynamic or regular expression, and then set the value at runtime so that you can interface/click upon it.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-09-16 06:46 PM
Hi Denis,
That's a great idea! I think that should work. Fantastic! Thanks a lot.
