Was that information of any help? If you can direct me on how to debug
further, I can do it! Thanks

On Wed, 26 Aug 2020, 19:06 raza, <[email protected]> wrote:

> Unfortunately i could not find anything for 'caused by' section but have
> attached the whole output with maven -X switch
>
> Not sure if it's of help but when the script is running and Chrome is
> open, this gets written to the console (which I believe is not captured in
> the log for some reason)
>
> [AsyncHttpClient-3-1] DEBUG
> org.asynchttpclient.netty.channel.ChannelManager - Adding key:
> http://localhost:11624 for channel [id: 0x320545e6, L:/127.0.0.1:59248 -
> R:localhost/127.0.0.1:11624]
> [AsyncHttpClient-timer-1-1] DEBUG
> org.asynchttpclient.netty.channel.DefaultChannelPool - Entry count for :
> http://localhost:45231 : 1
> [AsyncHttpClient-timer-1-1] DEBUG
> org.asynchttpclient.netty.channel.DefaultChannelPool - Entry count for :
> http://localhost:11624 : 1
> [Forwarding findElements on session b41a30c970c711a4a91f4b11f2f56284 to
> remote] DEBUG org.asynchttpclient.netty.request.NettyRequestSender - Using
> pooled Channel '[id: 0x320545e6, L:/127.0.0.1:59248 - R:localhost/
> 127.0.0.1:11624]' for 'POST' to '
> http://localhost:11624/session/b41a30c970c711a4a91f4b11f2f56284/elements'
> [Forwarding findElements on session b41a30c970c711a4a91f4b11f2f56284 to
> remote] DEBUG org.asynchttpclient.netty.request.NettyRequestSender - Using
> open Channel [id: 0x320545e6, L:/127.0.0.1:59248 - R:localhost/
> 127.0.0.1:11624] for POST
> '/session/b41a30c970c711a4a91f4b11f2f56284/elements'
> [AsyncHttpClient-3-1] DEBUG org.asynchttpclient.netty.handler.HttpHandler
> -
>
> Request DefaultHttpRequest(decodeResult: success, version: HTTP/1.1)
> POST /session/b41a30c970c711a4a91f4b11f2f56284/elements HTTP/1.1
> User-Agent: selenium/4.0.0-alpha-5 (java unix)
> Content-Length: 46
> Content-Type: application/json; charset=utf-8
> host: localhost:11624
> accept: */*
>
> Response DefaultHttpResponse(decodeResult: success, version: HTTP/1.1)
> HTTP/1.1 200 OK
> Content-Length: 12
> Content-Type: application/json; charset=utf-8
> cache-control: no-cache
>
> On Wed, 26 Aug 2020 at 18:39, Marcin Erdmann <[email protected]>
> wrote:
>
>> Is this the whole stacktrace? There usually would be a "caused by"
>> section below this showing power assertion output of evaluation of the
>> condition within the closure passed to waitFor which I'm after....
>>
>> On Wed, Aug 26, 2020 at 12:33 AM raza <[email protected]> wrote:
>>
>>> geb.waiting.WaitTimeoutException: condition did not pass in 30 seconds
>>>         at geb.waiting.Wait.waitFor(Wait.groovy:124)
>>>         at geb.waiting.Wait$waitFor.call(Unknown Source)
>>>         at
>>> geb.waiting.DefaultWaitingSupport.doWaitFor(DefaultWaitingSupport.groovy:50)
>>>         at
>>> geb.waiting.DefaultWaitingSupport.waitFor(DefaultWaitingSupport.groovy:41)
>>>         at
>>> geb.waiting.DefaultWaitingSupport.waitFor(DefaultWaitingSupport.groovy)
>>>         at geb.waiting.WaitingSupport$waitFor.call(Unknown Source)
>>>         at geb.Page.waitFor(Page.groovy:116)
>>>         at
>>> geb.binding.BindingUpdater$InvocationForwarding.doCall(BindingUpdater.groovy:136)
>>>         at
>>> step_definitions.Script4$_run_closure9.doCall(Script4.groovy:283)
>>>         at ✽.I complete Eligibility
>>> Check(classpath:/home/TestAutomation/target/test-classes/features/Care.feature:9)
>>>
>>> On Wed, 26 Aug 2020 at 02:43, Marcin Erdmann <[email protected]>
>>> wrote:
>>>
>>>> What's the stacktrace of the exception?
>>>>
>>>> On Mon, Aug 24, 2020 at 10:21 PM raz <[email protected]> wrote:
>>>>
>>>>> I have this Salesforce lightning site which is working fine with
>>>>> Firefox but when I run the same test in Chrome, it's like it can't ready
>>>>> anything from DOM and just waits at the first instruction.
>>>>>
>>>>> For example, when a page loads, I have this code to ensure its loaded
>>>>> before interacting with the objects which works flawlessly on Firefox and
>>>>> in Edge.
>>>>>
>>>>> *waitFor(WAIT_TIME) { browser.$('h2', text: contains('Eligibility
>>>>> Check')).isDisplayed() }*
>>>>>
>>>>> but the same line of code throws *geb.waiting.WaitTimeoutException:
>>>>> condition did not pass in 30 seconds *when I run the test in Chrome
>>>>> and I can see the page is loaded but seems like Geb/Selenium can't 
>>>>> interact
>>>>> with the DOM hence the exception.
>>>>>
>>>>> Any ideas what may be going on? I've tried various machines, versions
>>>>> of Chrome but can;t seem to figure it out. Any help is greatly 
>>>>> appreciated.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Geb User Mailing List" 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/geb-user/e9c3cc81-156c-45e0-a3bb-ebb6f888d76bn%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/geb-user/e9c3cc81-156c-45e0-a3bb-ebb6f888d76bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Geb User Mailing List" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/geb-user/IGedAOfoFNk/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/geb-user/CA%2B52dQS6WXtTRg2cf-0RAYjX5mqPKopK-Ad7wPwQexu5O3BuhA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/geb-user/CA%2B52dQS6WXtTRg2cf-0RAYjX5mqPKopK-Ad7wPwQexu5O3BuhA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Geb User Mailing List" 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/geb-user/CAFH7xtrYOEkyREeT4cKUoowe1J%2BDQuV5AJ0pK-tgiBoo7eJfWg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/geb-user/CAFH7xtrYOEkyREeT4cKUoowe1J%2BDQuV5AJ0pK-tgiBoo7eJfWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Geb User Mailing List" 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/geb-user/CA%2B52dQS6kE7MCLMtNXTwhoWTP7dkBMysiMcwLNZfgvQZ_YsH7Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/geb-user/CA%2B52dQS6kE7MCLMtNXTwhoWTP7dkBMysiMcwLNZfgvQZ_YsH7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" 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/geb-user/CAFH7xtrVqeq1g%3Dz5kenCPz_6M4Yz%2BmzNVD3UWWMbFit9bK5T6w%40mail.gmail.com.

Reply via email to