gt;> 2.1.2 :073 > browser = Watir::Browser.new :chrome
>>> => #
>>> 2.1.2 :074 > browser.goto("https://www.santandertotta.pt/pt_PT/
>>> Particulares.html")
>>> => "https://www.santandertotta.pt/pt_PT/Particulares.html";
>>&g
ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
Watir 5.0
Google Chrome Version 39.0.2171.65
On Mon, Nov 24, 2014 at 10:50 PM, Titus Fortner
wrote:
> What version Watir, Chrome & ChromeDriver? Does it work in Firefox?
>
> On Mon, Nov 24, 2014 at 4:48 PM, Alberto Magal
:076 > browser.button(value: 'Login').click
> => []
> 2.1.2 :077 > browser.iframe(id: 'ws').text_field(id:
> 'claveConsultiva').set 'bar'
> => nil
> 2.1.2 :078 > browser.iframe(id: 'ws').link(id: 'login_button
Joe,
Line 10. thanks
On Mon, Nov 24, 2014 at 10:35 PM, Alberto Magalhaes
wrote:
> C:/Ruby21/lib/ruby/gems/2.1.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/elements/iframe.rb:10:in
> `locate': unable to locate iframe using {:id=>"ws", :tag_name=>&q
:8:in `'
>Exit code: 1
On Mon, Nov 24, 2014 at 10:30 PM, Joe Fleck wrote:
> Alberto,
>
> What line is this failing on?
>
> Joe
>
> On Mon, Nov 24, 2014 at 5:26 PM, Alberto Magalhaes > wrote:
>
>> Titus,
>>
>> I'm trying this:
>>
Titus,
I'm trying this:
require 'watir-webdriver'
browser = Watir::Browser.new :chrome
browser.goto("https://www.santandertotta.pt/pt_PT/Particulares.html";)
browser.text_field(:name => "usr").set "foo"
browser.button(:value => "Login").click
usr=Nome%20de%20Utilizador'
browser.iframe(id: 'ws').te
Thanks Titu..
Bu i think is probably because of the iframe.
https://www.particulares.santandertotta.pt/bepp/sanpt/usuarios/login/0,,,0.shtml?usr=210348500>"
onLoad="startdyncode()" frameborder="0" style="overflow: hidden; width:
100%; z-index:200; position:relative; min-height:400px" scrolling="