I don't see any iframes on the page?

1.9.3p0 :010 > @browser = Watir::Browser.new :ff
 => #<Watir::Browser:0x4306d7ed81eb9314 url="about:blank" title="">
1.9.3p0 :011 > @browser.goto "https://www.salesforce.com/";
 => "https://www.salesforce.com/";
1.9.3p0 :012 > puts @browser.frames
#<Watir::FrameCollection:0x007ff56f7de530>
 => nil
1.9.3p0 :013 >

On Fri, Mar 15, 2013 at 9:15 AM, <[email protected]> wrote:

> I'm not working with them....i'm new to watir-webdriver and trying
> different things...
> 1. @browser.iframe(:id, fancybox-frame).send_keys "firstname"
>
> 2. @browser.iframe(:id, 'fancybox-frame').text_field(:id,
> 'UserFirstName').when_present.set "hello"
>
> Tried bot hthe ways but no luck! could you plz help?
>
> Thanks.
>
>
> On Friday, March 15, 2013 1:06:24 PM UTC, [email protected] wrote:
>>
>> Hi,
>> Watir-webdriver is unable to input the text field which is in iframe.I
>> would be very thankful if anybody can help me with the issue.I tried
>> different ways but no luck!
>> On the salesforce site after clicking on free trail,a signup form opens
>> to enter the details.I'm unable to enter the firstname in the iframe.
>> https://www.salesforce.com/
>>
>> 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.
>
>
>



-- 
http://www.richdownie.com
http://github.com/richdownie

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