Hi guys,
Can you please guide me how to access the marked area from this screen
(http://www.4freeimagehost.com/uploads/b5c0bd4ac462.png). I've used
Google, Watir Documentation and any resource i could manage to find to
correlate with my issue. I want to access traversal elements, if this
is the correct wording.
I'm using Watir with webdrive.
Here is also the script:
require 'watir-webdriver'
$browser = Watir::Browser.new :firefox
$browser.goto "site"
$browser.goto "login"
$browser.text_field(:name => 'username').set("username")
$browser.text_field(:name => 'password').set("test123")
$browser.button(:id => 'submit').click
$browser.goto "home"
$browser.text_field(:name => 'property').set("meacham rd")
$browser.button(:value, 'FIND SAVINGS NOW').click
After the map loads, i want to click on the element shown the
screenshot.
something like:
$browser.area(:xpath, '//*...@id="mtgt_unnamed_0"]').click
...but i don't know how to access area element
Thank you,
Dan
--
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]