fix(codegen): fallback to `iframe[name/src]` when failed to generate selector (#34030)

This commit is contained in:
Dmitry Gozman 2024-12-16 17:37:53 +00:00 committed by GitHub
parent 512cb36c9b
commit d4b2c966cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -300,7 +300,6 @@ async function generateFrameSelectorInParent(parent: Frame, frame: Frame): Promi
}, frameElement);
return selector;
} catch (e) {
return e.toString();
}
}, monotonicTime() + 2000);
if (!result.timedOut && result.result)