Issue with User agent Emulated Motorola G (gen 4)

Hi all!

Today I run some web page test on Salt Lake City, Utah - GCE - Chrome - Emulated Motorola G (gen 4) - Mobile and I get my desktop site as you can see in the following test :...e City, Utah - GCE - WebPageTest Result

This happen because we use user Agent to check if we are in desktop or mobile and I compare with older test and I see that user agent change to User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36. It is a chrome browser

The test that work as expected is perf.newhomesource....e City, Utah - GCE - WebPageTest Result with the following user agent Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Mobile Safari/537.36 PTST/210819.154939

Could you help me?


Sorry about that. A fix for Chrome’s support for client hints (as part of the migration away from UA strings) had some unintended side-effects. The fix is rolling out now and should be in place over the next hour.

1 Like

Thanks for the fix, now it works as expected :...e City, Utah - GCE - WebPageTest Result