Hi,
I've noticed there's some differences between the .send_keys method in Watir
and Watir-WebDriver.
1) .send_keys only works at the *browser* level in watir, whereas it works
at the browser and *element* level in watir-webdriver
2) .send_keys requires special strings in watir (eg. "{ENTER}") whereas
send_keys uses chains of symbols (and arrays of symbols) in watir-webdriver
(eg b.element.send_keys [:control, 'a'], :backspace): full list here:
http://watirwebdriver.com/sending-special-keys/
I think the watir-webdriver API is better in this regard, so, what do people
think about incorporating the element level send_keys, and the use of
symbols into Watir?
I imagine we'd need to leave the special string support for backwards
compatibility.
Cheers,
Alister
Alister Scott
Brisbane, Australia
Watir Web Master: http://watir.com
Blog: http://watirmelon.com
LinkedIn: http://www.linkedin.com/in/alisterscott
"There are two ways to get enough: One is to continue to accumulate more and
more. The other is to desire less." *~ G. K. Chesterton*
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development