Displaying 1 result from an estimated 1 matches for "communitycontentfields".
2007 Feb 15
1
How to select randomly named checkbox
I am trying to select a checkbox that is randomly named depending on the ID assigned to it by the webpage.
[9713816764515361h] is the random bit.
#<WWW::Mechanize::CheckBox:0x7a2b3c0
@checked=false,
@name="communityContentFields[9713816764515361h].postToArea_checkbox",
@value="true">
What code should I use to check the box?
Thanks
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20070214/51732bbb/attachm...