[wtr-general] Re: Click succeeds but action as the result of that click is not triggered

2019-07-19 Thread Titus Fortner
The trace you provided only shows a single click, so it isn't a geckodriver 
issue.

Do Watir.logger.level = :debug & Selenium::WebDriver.logger.level = :debug
link to a gist with the output. Something appears to be preventing the 
click command from happening.






On Sunday, June 16, 2019 at 5:47:51 AM UTC-7, rajagopalan madasami wrote:
>
> Hi Titus,
>
> I have raised this issue in Geckodriver, but I want to ask you whether 
> this kind of problem can be resolved from programming level in WATIR
>
> Here is the link
>
> https://github.com/mozilla/geckodriver/issues/1573
>

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/78b0f607-db67-4c77-b416-9856e397a94d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: How to write and regular expression in WATIR?

2019-07-19 Thread Titus Fortner
Rubular is a great resource for trying things, and there are plenty of 
tutorials: https://rubular.com/

If you need both, you have a lot of options, but: /hello.*username/


On Saturday, June 22, 2019 at 9:52:28 AM UTC-7, rajagopalan madasami wrote:
>
> Consider the below code
>
> b.element(name: /hello|username/).send_keys 'testid'
>
>
> `/hello|username/` represents the or operator, that means it searches the 
> name which is hello or username, how do I write regular expression which 
> search for hello and username?
>
>

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/fc6fa147-73ad-4751-8db7-7679aeab07e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: Privacy Policy

2019-07-19 Thread Chuck van der Linden
WATIR is a code library, not a website or online service.. it doesn't have 
a privacy policy.  There's nothing to keep private, you don't log in, you 
don't have an account, you don't share personal info with the library or 
even the watir.com website.  

  The closest you get to that kind of document might be the license 
agreement

The 

On Friday, July 19, 2019 at 9:35:25 AM UTC-7, Martin Sütterlin wrote:
>
> Hey all together,
>
> at the moment I am doing some research for a test automatisation tool. 
> Watir seems very interessting for my project. Does anyone of you know 
> something about the privacy policy of Watir or a link where I can find 
> something out about that?
>
> Thank you in advance!
> Martin
>

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/e676828b-a343-4097-9c50-0b2aa0d99da4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: Click succeeds but action as the result of that click is not triggered

2019-07-19 Thread Chuck van der Linden

On Sunday, June 16, 2019 at 5:47:51 AM UTC-7, rajagopalan madasami wrote:
>
> Hi Titus,
>
> I have raised this issue in Geckodriver, but I want to ask you whether 
> this kind of problem can be resolved from programming level in WATIR
>
> Here is the link
>
> https://github.com/mozilla/geckodriver/issues/1573
>

Looks like a geckodriver issue alright, especially if it works fine in 
chrome.

I've sometimes been able to work around this by digging into the code on 
the browser side to see if there's a specific event it's looking for and 
then firing that event against the element

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/a9b2859b-cc3b-4559-a095-231b0893942c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Re: How to write and regular expression in WATIR?

2019-07-19 Thread Chuck van der Linden

On Saturday, June 22, 2019 at 9:52:28 AM UTC-7, rajagopalan madasami wrote:
>
> Consider the below code
>
> b.element(name: /hello|username/).send_keys 'testid'
>
>
> `/hello|username/` represents the or operator, that means it searches the 
> name which is hello or username, how do I write regular expression which 
> search for hello and username?
>
>
Well it's ruby code, so you use standard ruby regular expressions.   is 
what you've got above not working?   Normally I'd not use the generic 
'element' but the more specific type such as .input

Can you share a sample of the HTML you are trying to interact with? 

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/029858d6-2baf-43ae-a4a5-3a5f06cb356f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Privacy Policy

2019-07-19 Thread 'Martin Sütterlin' via Watir General
Hey all together,

at the moment I am doing some research for a test automatisation tool. 
Watir seems very interessting for my project. Does anyone of you know 
something about the privacy policy of Watir or a link where I can find 
something out about that?

Thank you in advance!
Martin

-- 
-- 
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-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/16b11280-f50c-407e-8d2b-61bb6fad3f8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.