I got some DIV with thier own IDs to identify them. I got these DIVs on several web pages. The IDs are always the same, but the postions of the DIVs are changing, so I can not reference to them by the index number.
One example for the web source code:
.....
How is the syntax for the
IE_ExtractTag
command to extract the tags with ID=divID whereever they are located on the web pages?
Extract TAG by ID name
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use the ExtractTagByName command which can extract based on NAME or ID:
IE_ExtractTagByName>IE0,,DIV,sidebar,0,divside,r
MessageModal>Data: %divside%
IE_ExtractTagByName>IE0,,DIV,sidebar,0,divside,r
MessageModal>Data: %divside%
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?