Estoy usando sitespeed io y selenium + javascript para probar una página web. Cuando cambié a un iframe con un reproductor de YouTube integrado, recibí un error.
Error: ERROR: [plugin.browsertime]https://www.youtube.com/embed generated the following errors in the coach { "performance": { "firstContentfulPaint": "Cannot read properties of undefined (reading 'startTime')", "longTasks": "Cannot read properties of undefined (reading 'startTime')" }Código:
const iframe = await driver.findElement(webdriver.By.id('widget2')); await driver.switchTo().frame(iframe);//Error Happens here