Can you show some of that code? On Wednesday, January 15, 2014 9:33:10 AM UTC-5, Matt Caldwell wrote: > > I suppose that is ambiguous -- sorry about that. It is a Watir::Browser > object, it has been instantiated and has been used in lines preceding that > line that are also referencing frames. > > On Wednesday, January 15, 2014 9:25:03 AM UTC-5, Dan wrote: >> >> 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.
