rajagopalan madasami
2018-11-08 06:06:54 UTC
Hi Titus,
I updated to WATIR 6.15 today. I tried using obsured? method here like
require 'watir'
b = Watir::Browser.new :firefox
b.goto 'https://www.crmpro.com/index.html'
b.wait_while{b.button(value: 'Login').obscured?}
b.button(value: 'Login').click
It works properly. But this functionality should be defaulted to all
the elements. Because In a bigger project, we don't know when element
would be obscured. eh? If I execute the below program with WATIR 6.15,
it still throws the elementClickInterceptedError.
require 'watir'
b = Watir::Browser.new :firefox
b.goto 'https://www.crmpro.com/index.html'
b.button(value: 'Login').click
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
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 watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I updated to WATIR 6.15 today. I tried using obsured? method here like
require 'watir'
b = Watir::Browser.new :firefox
b.goto 'https://www.crmpro.com/index.html'
b.wait_while{b.button(value: 'Login').obscured?}
b.button(value: 'Login').click
It works properly. But this functionality should be defaulted to all
the elements. Because In a bigger project, we don't know when element
would be obscured. eh? If I execute the below program with WATIR 6.15,
it still throws the elementClickInterceptedError.
require 'watir'
b = Watir::Browser.new :firefox
b.goto 'https://www.crmpro.com/index.html'
b.button(value: 'Login').click
--
--
Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
In short: search before you ask, be nice.
watir-***@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+***@googlegroups.com
---
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 watir-general+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.