Thanks Justin!
We've got something similar to what you suggested implemented all ready. I
was hoping that classic and webdriver would behave the same way in 4.0. I
wonder are the watir guys planning on changing these to match in the future
or is there some reason why they are both different?
Thanks Jarmo, we will raise the request.
JFYI both, this is the original discussion around #style() in watir and is
the reason we are following up on this:
https://github.com/watir/watir-webdriver/issues/11
Thank you,
Aliaksandr Ikhelis
On Fri, Oct 26, 2012 at 4:18 PM, Jarmo wrote:
> I don't
I don't see any reason why it should not be doable in watir-classic too -
didn't know that feature exists in watir-webdriver. Please open up a
feature request under https://github.com/watir/watir-classic/issues and
i'll try to introduce that in the next version.
J.
On Fri, Oct 26, 2012 at 1:16 PM
I also ran into this yesterday. There was talk in
http://rubyforge.org/pipermail/wtr-development/2012-February/003541.html
about fixing watir-classic to be the same. Though it looks like it was not
implemented.
I think all you would need to do for watir-classic is change the style
method to:
You can also check my related question about this issue on
http://stackoverflow.com/questions/12710287/how-to-enter-password-in-a-popup-using-watir
On Fri, Oct 26, 2012 at 6:21 PM, uday swami wrote:
> I would like to add that the method in alert.rb says
> @alert.send_keys(value) I tried changing
I would like to add that the method in alert.rb says
@alert.send_keys(value) I tried changing that too but no result
On Fri, Oct 26, 2012 at 6:02 PM, uday swami wrote:
> I tried that too but it won't work. See when I try to do same with the
> main browser window it works it's just won't work wit
I tried that too but it won't work. See when I try to do same with the main
browser window it works it's just won't work with that alert window
On Fri, Oct 26, 2012 at 5:51 PM, enroxorz wrote:
> What version of WATIR are you using. Correct me if I am wrong, but if you
> are using pre-3.0 Watir,
What version of WATIR are you using. Correct me if I am wrong, but if you
are using pre-3.0 Watir, send_key "{TAB}" should work...
On Friday, October 26, 2012 6:35:38 AM UTC-4, uday swami wrote:
>
> browser.alert.set "username"
> browser.alert.send_key :tab
> browser.alert.set "my_password"
> bro
browser.alert.set "username"
browser.alert.send_key :tab
browser.alert.set "my_password"
browser.alert.ok
when I did this it just sets same text_field with first "username",then
":tab" and then password so at last that text field has password and curser
doesn't go to next field either. It considers
Hey Jarmo or whoever else can help :),
In the latest wair-classic the Element#style() method works as follows
# return the css style as a string
def style
assert_exists
ole_object.style.cssText
end
but it still doesn't behave like the webdriver version (which takes a
pr
10 matches
Mail list logo