Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: remove useless statement that was a typo (#4846)

Tom Jenkinsond08f8487c485
diff --git a/src/server/javascript.ts b/src/server/javascript.ts
index 91032b9d83..e3e92bb02e 100644
--- a/src/server/javascript.ts
+++ b/src/server/javascript.ts
@@ -111,7 +111,7 @@ export class JSHandle<T = any> {
}
async _evaluateExpression(expression: string, isFunction: boolean, returnByValue: boolean, arg: any) {
- const value = await evaluateExpression(this._context, returnByValue, expression, isFunction, this, arg);1;
+ const value = await evaluateExpression(this._context, returnByValue, expression, isFunction, this, arg);
await this._context.doSlowMo();
return value;
}