On some of my websites, Google's Search Console tool and PageSpeed show a Max First Input Delay of 300 seconds on mobile and 900 seconds on PC on my homepages.
Strange phenomenon because even on a development environment where I disable all javascript and css code, the result does not change.
Moreover, I installed on my website the following script, developed by Google: https://github.com/GoogleChromeLabs/first-input-delay
It allows you to send data to Google Analytics on the FID. On my website, I added a line in the code so that the Browser Console returns the FID (console.log(delay);).
And the result is not surprising : Less than 5 or in some cases 10 milliseconds for the browser to respond when you click anywhere on the page.
So I think that google doesn't do a simple click on the page to calculate the FID. By the way, I also know that the FID is calculated by real users on Google Chrome, it can't be done by a bot.
But in this case, how do you identify the element that could take half a second or even a whole second before the browser responds?
Despite my long researches on the internet on this subject, all give the same explanations to make a diagnosis, but this does not help me in my problem.