And have that return the input element. Webrat does this and I love
it. Any way to do this in WebDriver?
Aslak
Marc Guillemot
unread,
Nov 17, 2009, 2:27:08 AM11/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webd...@googlegroups.com
What about implementing it by yourself, using an XPath in the background?
id(//label[text() = 'your label here']/@for)
Cheers,
Marc.
Aslak Hellesøy a écrit :
Simon Stewart
unread,
Nov 19, 2009, 7:20:52 AM11/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webd...@googlegroups.com
You're not the first person to request something like this. I like the
way that chickenfoot deals with this problem. Emulating that behaviour
would be nice.
Simon
QA_manager
unread,
Nov 19, 2009, 9:14:06 AM11/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webdriver
I assume that you mean this chickenfoot: http://groups.csail.mit.edu/uid/chickenfoot/ - the Firefox extension, not the American rock group by the same
name. What does it do that you like so much?
Simon Stewart
unread,
Nov 19, 2009, 10:05:33 AM11/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to webd...@googlegroups.com
The element finding is nice, in that it tries to make things really
easy for the user. In the simple case, this makes for simpler tests.