Discussion:
[wtr-general] obsured? method
rajagopalan madasami
2018-11-08 06:06:54 UTC
Permalink
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.
Titus Fortner
2018-11-08 14:06:54 UTC
Permalink
We've discussed this several times before, we are not going to make it the
default for everyone. What we can do is make it easier for you to set it as
a default for your project. That's on the list of things to work on.


On Thursday, November 8, 2018 at 12:07:10 AM UTC-6, rajagopalan madasami
Post by rajagopalan madasami
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.
rajagopalan madasami
2018-11-09 03:06:59 UTC
Permalink
Ok
Post by Titus Fortner
We've discussed this several times before, we are not going to make it the
default for everyone. What we can do is make it easier for you to set it as
a default for your project. That's on the list of things to work on.
On Thursday, November 8, 2018 at 12:07:10 AM UTC-6, rajagopalan madasami
Post by rajagopalan madasami
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.
http://groups.google.com/group/watir-general
---
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
For more options, visit https://groups.google.com/d/optout.
--
--
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.
Loading...