Hi everyone, I need to know if there is a better way to delete a string of text from a RichTextArea.
Currently I handle it this way: @browser.frame(:class=>/gwt-RichTextArea/).click # Erase old comment for rte in [email protected](:class=>/gwt-RichTextArea/).body.text.length #GF0TARWCJU hasRichTextToolbar').body.text.length # delete text by backspacing. @browser.frame(:class=>/gwt-RichTextArea/).send_keys [:control,"a"], :backspace end Is there a better way to do this with watir-webdriver? Image Included: Thank you, Joe -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
<<attachment: richtextarea.png>>
