Skip to main content
Version: 24.38.0

PuppeteerNode.defaultArgs() 方法

🌐 PuppeteerNode.defaultArgs() method

语法

🌐 Signature

class PuppeteerNode {
defaultArgs(options?: LaunchOptions): string[];
}

参数

🌐 Parameters

范围

🌐 Parameter

类型

🌐 Type

描述

🌐 Description

options

启动选项

(可选)可在浏览器上设置的一组选项。

🌐 (Optional) Set of configurable options to set on the browser.

返回:

string[]

浏览器将使用默认参数启动。

🌐 The default arguments that the browser will be launched with.