Yes, If I introduce sleep before button click, it works fine.
On Sunday, 4 August 2019 00:18:41 UTC+5:30, Titus Fortner wrote: > > This code works just fine for me. I'm on a Mac, and I can't easily check > it works on Windows, but everything looks good to me. > Is it perhaps a timing issue on your machine? If you temporarily put a > sleep statement there will it work? > > > On Friday, August 2, 2019 at 10:34:58 PM UTC-7, rajagopalan madasami wrote: >> >> Click is issued but action as a result of that click is not triggered. >> >> Okay, execute this code, you would see program succeeds but application >> doesn't get logged in. >> >> require 'watir' >>> b=Watir::Browser.new :firefox >>> b.goto 'https://uat.allianz-go.com' >>> b.text_field(name: 'username').set 'JyoUser' >>> b.text_field(name: 'password').set 'Test@123' >>> b.button(id: 'producer').click >>> >> >> >> >> On Friday, 2 August 2019 20:40:54 UTC+5:30, Titus Fortner wrote: >>> >>> A single click not happening is not what you described in the ticket. >>> Can you provide the code you used to generate this log and how it is >>> different from what you expect? >>> >>> >>> On Thu, Aug 1, 2019, 1:58 AM rajagopalan madasami < >>> [email protected]> wrote: >>> >>>> I have created a gist here, You can see click is issued but not >>>> triggered anything. But I am not sure whether you can know whether page >>>> has >>>> moved to the next page or not but I can see while I am running it. >>>> >>>> https://gist.github.com/Rajagopalan-M/1e5b68be57a8fa3599c56b9c0364dd6c >>>> >>>> On Thursday, 1 August 2019 12:54:56 UTC+5:30, Titus Fortner wrote: >>>>> >>>>> I literally and explicitly said the exact opposite of what you did. >>>>> >>>>> The logs you provided on Github showed the driver only received one >>>>> request to click an element. If you expected it to have received more, >>>>> then >>>>> you need to figure out why the code did not send more, hence my >>>>> suggestion >>>>> to obtain more logging information. Or even better use a debugger to walk >>>>> through the code to figure out where the disconnect is. >>>>> >>>>> >>>>> >>>>> On Wednesday, July 31, 2019 at 10:11:30 PM UTC-7, rajagopalan madasami >>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> On Friday, 19 July 2019 22:39:27 UTC+5:30, Titus Fortner wrote: >>>>>>> >>>>>>> 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. >>>>>>> >>>>>>> >> Something appears to be preventing the click command from >>>>>>> happening.<< >>>>>>> >>>>>> >>>>>> Then it should be the problem with geckodriver,eh? >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 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. >>>> >>>> [email protected] >>>> http://groups.google.com/group/watir-general >>>> [email protected] >>>> --- >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/watir-general/60ab76c3-23e8-4b41-802f-56954b662fe4%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/watir-general/60ab76c3-23e8-4b41-802f-56954b662fe4%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- -- 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. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/watir-general/3cfca608-44e3-4d5e-8d92-e87b146daa00%40googlegroups.com.
