function webVitalsLoaded() {
  return browser.waitUntil(async () => {
    const isLoaded = await browser.execute(() => self.__isWebVitalsLoaded);
    return isLoaded === true;
  });
}
Returns a promise that resolves once the web-vitals library has been
loaded via the `__testImport()` function.
@return {Promise<void>}