| 12345678910111213141516171819202122232425262728293031323334 |
- <template><div><h1 id="浏览器指令" tabindex="-1"><a class="header-anchor" href="#浏览器指令"><span>浏览器指令</span></a></h1>
- <h2 id="启动浏览器" tabindex="-1"><a class="header-anchor" href="#启动浏览器"><span>启动浏览器</span></a></h2>
- <p>启动一个浏览器实例。</p>
- <h3 id="参数" tabindex="-1"><a class="header-anchor" href="#参数"><span>参数</span></a></h3>
- <table>
- <thead>
- <tr>
- <th>参数</th>
- <th>说明</th>
- <th>默认值</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>浏览器类型</td>
- <td>Chrome / Edge / BitBrowser</td>
- <td>Chrome</td>
- </tr>
- <tr>
- <td>无头模式</td>
- <td>是否隐藏浏览器窗口</td>
- <td>否</td>
- </tr>
- </tbody>
- </table>
- <h3 id="输出" tabindex="-1"><a class="header-anchor" href="#输出"><span>输出</span></a></h3>
- <ul>
- <li><code v-pre>browser</code> - 浏览器实例</li>
- </ul>
- <h2 id="关闭浏览器" tabindex="-1"><a class="header-anchor" href="#关闭浏览器"><span>关闭浏览器</span></a></h2>
- <p>关闭指定的浏览器实例。</p>
- </div></template>
|