What are you passing into the method?

On Wednesday, January 15, 2014 7:57:35 AM UTC-5, Matt Caldwell wrote:
>
> Update/clarification. I am using Firefox 17 as my base for this and Watir 
> 1.9.3.
>
> On Tuesday, January 14, 2014 2:27:05 PM UTC-5, Matt Caldwell wrote:
>>
>> Hello all,
>>
>> I have been struggling with this issue and was hoping to get some 
>> insight. I have a method in a helper class that I wrote that is using code 
>> that has worked in the past that is no longer working.
>>
>> def checkinAndApproveAsset(browser, comment)
>> browser.frame(:src, '../../pageSourcePath').wait_until_present  # This 
>> line throws "Undefined Method 'frame' for []:Array (NoMethodError)"
>> #.
>> #. additional irrelevant code
>> #.
>> return browser
>> end
>>
>> The method is called by the following method.
>> browser = toolbox.checkinAndApproveAsset(browser, 'comment')
>>
>> Any insights? Thanks in advance.
>>
>

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to