[ 
http://jira.openqa.org/browse/SW-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zeljko closed SW-4.
-------------------

    Resolution: Won't Fix

If this is still a problem, please report it here: 
https://github.com/redsquirrel/safariwatir/issues

> safariwatir object missing links method?
> ----------------------------------------
>
>                 Key: SW-4
>                 URL: http://jira.openqa.org/browse/SW-4
>             Project: SafariWatir
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1
>         Environment: Mac
>            Reporter: Zeljko
>             Fix For: 1
>
>
> - moved from SafariWatir RubyForge tracker
> - original data:
> [#15915] safariwatir object missing links method?
> Date: 2007-11-25 23:04        
> Priority: 3
> Submitted By: Christopher Rose (chrisrose67)  
> Assigned To: Nobody (None)
> Category: None        
> State: Open
> Summary: safariwatir object missing links method?
> Detailed description
> Hi,
> Just trying some of my watir scripts out with safariwatir, and the first 
> thing I notice is that there is no public method
> 'links' for the Watir::Safari object, as there was for the Watir::IE object.  
> Maybe there is a development timeline
> for covering the basic watir functionality?  (More likely, I am just doing 
> something wrong - please LMK).
> Just as an example, here is a ruby script snippet which produces the error;
>        handle.goto(nextUrl) 
>        tmpLinkList = handle.links
>        tmpLinkList.each { |nextLink|
>          if nextLink.text != "New Search" && nextLink.text != "" && 
> nextLink.text
> != "Go Back"
>            print "Found a link labelled " + nextLink.text + ".\n"
>            testLinkHandle.goto(nextLink.href)
> And the error I get is like this;
> NoMethodError: undefined method `links' for #<Watir::Safari:0x678b68>
> Thanks for any info or suggestions - 
> Chris

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to