Skip to content

Commit 5a041bc

Browse files
authored
fix(core): dump page context when locate fails (#736)
* fix(core): dump page context when locate fails * fix(core): dump page context when locate fails * fix(core): dump page context when locate fails
1 parent fb25806 commit 5a041bc

File tree

1 file changed

+1
-0
lines changed
  • packages/web-integration/src/common

1 file changed

+1
-0
lines changed

packages/web-integration/src/common/tasks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export class PageTaskExecutor {
216216
this.insight.onceDumpUpdatedFn = dumpCollector;
217217
const shotTime = Date.now();
218218
const pageContext = await this.insight.contextRetrieverFn('locate');
219+
task.pageContext = pageContext;
219220
const recordItem: ExecutionRecorderItem = {
220221
type: 'screenshot',
221222
ts: shotTime,

0 commit comments

Comments
 (0)