Summer Sale! All accounts are 50% off this week.

sardar1592's avatar

Headless Browser showing different Google Login screen

I am facing a really weird issue with Laravel Dusk. All my tests are working fine without headless mode. As soon as I switch on headless mode, the Google login screen just changes to a legacy screen. The identifier input field is no longer there and the test fails. The weirdest part is it happens for live URLs as well. This is causing all my tests in the GitHub actions pipeline to fail. The same is happening on my local machine using Laravel Valet.

Any ideas on how to fix this or what could be happening?

Headless: https://www.dropbox.com/s/6kw6o1kswl666yd/failure-Tests_Browser_Live_Text_testASingleTextIsBeingSentFromProd-0.png?dl=0

In Browser: https://www.dropbox.com/s/zr4u8ajf7t81tko/google_new.png?dl=0

0 likes
0 replies

Please or to participate in this conversation.