Auto increment - XPath HTML element

312 views
Skip to first unread message

Xavier Duportet

unread,
Dec 23, 2013, 7:12:59 AM12/23/13
to fak...@googlegroups.com
Hi there,

Fake is awesome! 
However, I have a small issue..
I would like to have Fake to go through a list of displayed HTML elements on a webpage.


Xpath for these elements are like this
/HTML[1]/BODY[1]/DIV[1]/DIV[5]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[2]/TABLE[1]/TBODY[1]/TR[1]/TD[1]/A[1]/IMG[1]

and I would need to be able to change this number after the TR, once my list of actions is finished.
So as to go through the next element on the page, etc etc...

would love some help!

Thanks!

Xavier

Todd Ditchendorf

unread,
Dec 23, 2013, 3:32:51 PM12/23/13
to Fake
Hi Xavier. Thanks.

Your best bet is probably the “Repeat With” Action set to “JavaScript”, “CSS Selector” or “XPath”. But of course you will need to construct a JS expression, CSS selector or XPath expression which selects the elements you want.

TD


--
You received this message because you are subscribed to the Google Groups "Fake" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fakeapp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages