Skip to content

Commit 56324b6

Browse files
committed
fix(playwright): no context is used for wait* functions
1 parent c7e58ab commit 56324b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/Playwright.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@ class Playwright extends Helper {
27372737
}
27382738

27392739
async _getContext() {
2740-
if (this.context && this.context.constructor.name === 'FrameLocator' || this.context) {
2740+
if ((this.context && this.context.constructor.name === 'FrameLocator') || this.context) {
27412741
return this.context
27422742
}
27432743
return this.page

0 commit comments

Comments
 (0)