We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71c946 commit 18c633bCopy full SHA for 18c633b
lib/helper/Playwright.js
@@ -1204,7 +1204,11 @@ class Playwright extends Helper {
1204
1205
async _withinEnd() {
1206
this.withinLocator = null
1207
- this.context = await this.page
+ if (this.page) {
1208
+ this.context = await this.page
1209
+ } else {
1210
+ this.context = null
1211
+ }
1212
this.contextLocator = null
1213
this.frame = null
1214
}
package.json
@@ -133,7 +133,7 @@
133
"@inquirer/testing": "^2.1.49",
134
"@pollyjs/adapter-puppeteer": "6.0.6",
135
"@pollyjs/core": "6.0.6",
136
- "@testomatio/reporter": "^2.3.0",
+ "@testomatio/reporter": "^2.3.1",
137
"@types/chai": "5.2.2",
138
"@types/inquirer": "9.0.7",
139
"@types/node": "24.0.10",
0 commit comments