You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Webdriver I have something like that and it works: $I->waitForJS("return typeof App !== 'undefined';");
But with playwright I have an error:
page.evaluate: SyntaxError: Illegal return statement
at eval (<anonymous>)
at UtilityScript.evaluate (<anonymous>:234:30)
at UtilityScript.<anonymous> (<anonymous>:1:44)
I tried different value but always an error: $I->waitForJS("return typeof App !== 'undefined'"); $I->waitForJS("typeof App !== 'undefined';"); $I->waitForJS("() => typeof App !== 'undefined'");
The text was updated successfully, but these errors were encountered:
On Webdriver I have something like that and it works:
$I->waitForJS("return typeof App !== 'undefined';");
But with playwright I have an error:
I tried different value but always an error:
$I->waitForJS("return typeof App !== 'undefined'");
$I->waitForJS("typeof App !== 'undefined';");
$I->waitForJS("() => typeof App !== 'undefined'");
The text was updated successfully, but these errors were encountered: