豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit a525f19

Browse files
fix: use default ProtocolTimeout (ChromeDevTools#315)
Closes ChromeDevTools#271
1 parent 1faec78 commit a525f19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/browser.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ function targetFilter(target: Target): boolean {
4040

4141
const connectOptions: ConnectOptions = {
4242
targetFilter,
43-
// We do not expect any single CDP command to take more than 10sec.
44-
protocolTimeout: 10_000,
4543
};
4644

4745
export async function ensureBrowserConnected(browserURL: string) {

0 commit comments

Comments
 (0)