Skip to content

Commit 1958a3f

Browse files
Nima21claude
andcommitted
fix: correct import order in browser.ts
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f8d6baf commit 1958a3f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/browser.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import fs from 'node:fs';
88
import os from 'node:os';
99
import path from 'node:path';
1010

11+
import puppeteerExtra from 'puppeteer-extra';
12+
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
13+
1114
import {logger} from './logger.js';
1215
import type {
1316
Browser,
@@ -16,8 +19,6 @@ import type {
1619
Target,
1720
} from './third_party/index.js';
1821
import {puppeteer} from './third_party/index.js';
19-
import puppeteerExtra from 'puppeteer-extra';
20-
import StealthPlugin from 'puppeteer-extra-plugin-stealth';
2122

2223
// Add stealth plugin
2324
puppeteerExtra.use(StealthPlugin());

0 commit comments

Comments
 (0)