Menu

#6 Any plans for beforeText and afterText support?

open
nobody
None
5
2006-05-25
2006-05-25
Anonymous
No

I noticed that in the TextFields tests these are
commented out. beforeText and afterText are really
handy when you are working with dynamically generated
HTML where you can't rely on tag attributes to stay the
same from run to run. If I want to select from a
selectbox before a text label, or enter some text in a
field after a label, this is a nice way of handling it.

ex.
ie.selectList(afterText, "Province").select("Alberta");
ie.textField(beforeText, "Foo").set("Bar");

Thanks;

-Jonathan

Discussion


Log in to post a comment.

MongoDB Logo MongoDB