[Wtr-general] How can I click h4 headline?
Angrez Singh
angrez at gmail.com
Tue Jul 3 09:55:18 EDT 2007
Try this:
ie.element_by_xpath("//h4[@id='addproject']").click()
- Angrez
On 7/3/07, Zeljko <forum-watir-users at openqa.org> wrote:
>
> I have a h4 headline that I have to click.
>
> <h4 id="addproject">Create a new project</h4>
>
> This does not work.
>
> ie.h4(:id, "addproject").click
>
> Is there a way to click it?
>
> Zeljko
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070703/2dcc5a05/attachment.html
More information about the Wtr-general
mailing list