Replies: 1 comment
-
So I can't access the URLs you provided, but I will try to answer your questions in a general sense:
When Lighthouse starts it takes the URL in the address bar and initiates a navigation to that URL. If there was a redirect to a different URL during that process Lighthouse will report it in the warning message you see. This does not include any "soft" redirects which is an action that changes the URL displayed in the address bar without performing an actual navigation. It's possible that the site navigation flow goes:
The report is still valid, but the results are applicable to the second URL which may be unexpected in some circumstances if you are trying to get a report for the first URL.
https://developer.chrome.com/docs/lighthouse/performance/redirects/#how_to_eliminate_redirects |
Beta Was this translation helpful? Give feedback.
-
Issue
When running Google Lighthouse scans (Google Lighthouse v11.1.0, on Chrome DevTools) we received the following message in the Google Lighthouse report:
The page may not be loading as expected because your test URL
(https://www.test.gov.sg/ngbbizfileinternet/faces/oracle/webcenter/portalapp/pages/TransactionMain.jspx?selectedETransId=C223&selEnityType=C) was redirected to
https://www.test.gov.sg/ngbbizfileinternet/faces/oracle/webcenter/portalapp/pages/TransactionMain.jspx?selectedETransId=C223&selEnityType=C&_afrLoop=30361070260339530&_afrWindowMode=0&Adf-Window-Id=w17yls5e73m&_afrFS=16&_afrMT=screen&_afrMFW=835&_afrMFH=775&_afrMFDW=1440&_afrMFDH=900&_afrMFC=8&_afrMFCI=0&_afrMFM=0&_afrMFR=192&_afrMFG=0&_afrMFS=0&_afrMFO=0. Try testing
the second URL directly.
Actions we had taken
We tried running Google Lighthouse scans on the original URL a few times but the same message persisted.
We also tried running Google Lighthouse on the 2nd URL, but the same message still appeared in the report / we were unable to test it as we were redirected to the first URL when we loaded it into the browser.
Questions
We would like to understand under what circumstances does this message occur?
We would like to check on the validity of the Google Lighthouse report - would the Google Lighthouse findings still be valid despite the presence of the message?
What are some steps we can take to prevent the redirect from occurring?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions