yes, I need popups.

in the meantime I got parameters from dev, which I need to pass to every 
page like "?qualtrics=notest&stage=prod", so every page needs to be called 
like that: http://test.abc.com/?qualtrics=notest&stage=stage

how do I build this into the framework? 

is there central place where I can add arguments/parameters like that to 
all current urls?

thank you!



On Thursday, September 23, 2021 at 1:44:03 PM UTC+2 jc wrote:

> Do you need popups enabled at all?  If not, just pass in the capability to 
> the browser to prevent popups.  In chrome it's
> options.addArguments("--disable-popup-blocking")
>
> On Thu, Sep 23, 2021, 5:38 AM [email protected] <[email protected]> wrote:
>
>> hi,
>> is there a way to handle random popups in geb?
>>
>> I found this 
>> https://www.vinsguru.com/selenium-webdriver-how-to-handle-annoying-random-popup-alerts/
>>   
>> but have no idea how to build this into the pages?
>>
>> I need to click away a random popup like this:
>> [image: popup.jpg]
>>
>> Thank you!
>>
>> -- 
>> 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/a6d63fb1-b01b-474d-b5db-f5f69e38abd5n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/geb-user/a6d63fb1-b01b-474d-b5db-f5f69e38abd5n%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/9570d1af-cfde-4db3-88ce-0183ccd60646n%40googlegroups.com.

Reply via email to