Worked like a charm, thanks!
On Wednesday, October 9, 2019 at 3:38:33 PM UTC-5, jc wrote:
>
> waitFor {!$(css-class)}
>
>
> On Wed, Oct 9, 2019, 3:36 PM Ben Frey <[email protected] <javascript:>>
> wrote:
>
>> Yeah, it just goes away on its own. I'm pretty sure I can wait for the
>> interstitial to appear with
>> waitFor {$(css-class)}
>>
>> but how do I wait for something to disappear?
>>
>> On Wednesday, October 9, 2019 at 3:23:06 PM UTC-5, jc wrote:
>>>
>>> I would recommend against hard waits if at all possible. Is there
>>> action that needs to be taken to remove the modal or whatever pops up? If
>>> it takes about 3 second to show an another 3 seconds to go away on its own
>>> you could just say to fluently wait for the element and the fluently wait
>>> for not the element....just an idea
>>>
>>> On Wed, Oct 9, 2019, 3:09 PM Ben Frey <[email protected]> wrote:
>>>
>>>> Yup, it sure will. Sometimes one forgets stuff built into the language
>>>> :)
>>>>
>>>> On Wednesday, October 9, 2019 at 3:04:54 PM UTC-5, jc wrote:
>>>>>
>>>>> Does sleep() not do what you are asking?
>>>>>
>>>>> On Wed, Oct 9, 2019, 2:53 PM Ben Frey <[email protected]> wrote:
>>>>>
>>>>>> We have a React page that loads, then an interstitial is displayed
>>>>>> over it. For whatever reason the interstitial isn't shown right away, so
>>>>>> Geb can interact with the page beforehand. Once the interstitial is
>>>>>> gone,
>>>>>> anything that Geb has set has been reset. Is there any way to tell Geb
>>>>>> "wait for x seconds always"?
>>>>>>
>>>>>> --
>>>>>> 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/d97c57ff-88a3-4949-942b-b64fbc20cff5%40googlegroups.com
>>>>>>
>>>>>> <https://groups.google.com/d/msgid/geb-user/d97c57ff-88a3-4949-942b-b64fbc20cff5%40googlegroups.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/0cc1a414-c42b-4e56-9bfd-6c5a9e4b9cfa%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/geb-user/0cc1a414-c42b-4e56-9bfd-6c5a9e4b9cfa%40googlegroups.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] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/geb-user/d052663a-fa62-41da-ab7a-e3999ada2af0%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/geb-user/d052663a-fa62-41da-ab7a-e3999ada2af0%40googlegroups.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/e24ca469-cf87-4717-9043-a1f028779de4%40googlegroups.com.