i have a tab on a web page that i want watir/ruby to click.
the DOM has it down as:
... ...
can anyone suggest a ruby/watir command to simulate the click cheers |
i have a tab on a web page that i want watir/ruby to click.
the DOM has it down as:
... ...
can anyone suggest a ruby/watir command to simulate the click cheers |
You can try SWExplorerAutomation (SWEA) from
http:\webunittesting.com. With SWEA you don’t need to dig into the
DOM structure. SWEA is .Net API, but you can call it from RUBY.NET
newyorkdolluk wrote:
<TD id=tabWrap> <DIV class=admin id=header> <LI id=nav-plan>
can anyone suggest a ruby/watir command to simulate the click
ie.frame(:id, ‘topMenu’).div(:id, ‘header’).click
Watir requires you to specify frames. Other elements are optional,
except to avoid ambiguity.
Bret
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs