Sure thing!

First, manually, go to that site and click on the tinyMCE logo in the 
editor. It will then look like this:


<https://lh5.googleusercontent.com/-qvTOc8b86gY/TwSKGqISs4I/AAAAAAAAAzQ/WDupc0lvdQs/s1600/tinymce.jpg>

The particular thing to note is the resizing controller that 
appears--that's how you know you've clicked it.

Now, run this code:

require 'watir-webdriver'

browser = Watir::Browser.new :firefox

browser.goto "http://www.tinymce.com/tryit/full.php";

browser.frame(:id=>"content_ifr").image(:src=>"img/tlogo.png").click

sleep 10 # So that the window doesn't close immediately

You'll notice that the image-resize controller is not there after the click 
even occurs. That's the basic problem.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to