> Thanks for the link jason, but my task is to click on the "Compose
> Mail" in the regular gmail
Again, if you try the "Basic HTML" version:
http://mail.google.com/mail/?ui=html
The following works:
irb(main):010:0> ie.link(:text, 'Compose Mail').click
=> 2.891
It's all quite simple.
But within the "standard" view, Google implement some funky things,
looks like nested divs within divs within iframes, and random
div :class / :id values...
I managed to do the following:
ie.frame(:id, 'canvas_frame').div(:class, 'NIPhib').span(:index,
1).click
But I'm pretty sure that :class of 'NIPhib' won't be present next time
I load the page. I'm not sure it's worth it.
J