Skip to content

Commit c954356

Browse files
Lightning00BladeOrKoN
authored andcommitted
fix
1 parent 711f8f2 commit c954356

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/PageCollector.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export class PageCollector<T> {
141141

142142
const data: T[] = [];
143143
for (let index = includePreviousNavigations ?? 0; index >= 0; index--) {
144-
console.log('Loop index', index);
145144
data.push(...navigations[index]);
146145
}
147146
return data;
@@ -174,7 +173,6 @@ export class NetworkCollector extends PageCollector<HTTPRequest> {
174173
super(browser, collect => {
175174
return {
176175
request: req => {
177-
console.log('Collected');
178176
collect(req);
179177
},
180178
} as ListenerMap;

tests/tools/network.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ describe('network', () => {
4545
const page = await context.getSelectedPage();
4646
await page.goto('data:text/html,<div>Hello 1</div>');
4747
await page.goto('data:text/html,<div>Hello 2</div>');
48-
console.log('Last navigtation');
4948
await page.goto('data:text/html,<div>Hello 3</div>');
5049
await listNetworkRequests.handler(
5150
{

0 commit comments

Comments
 (0)