browser.html.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <template><div><h1 id="浏览器指令" tabindex="-1"><a class="header-anchor" href="#浏览器指令"><span>浏览器指令</span></a></h1>
  2. <h2 id="启动浏览器" tabindex="-1"><a class="header-anchor" href="#启动浏览器"><span>启动浏览器</span></a></h2>
  3. <p>启动一个浏览器实例。</p>
  4. <h3 id="参数" tabindex="-1"><a class="header-anchor" href="#参数"><span>参数</span></a></h3>
  5. <table>
  6. <thead>
  7. <tr>
  8. <th>参数</th>
  9. <th>说明</th>
  10. <th>默认值</th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <tr>
  15. <td>浏览器类型</td>
  16. <td>Chrome / Edge / BitBrowser</td>
  17. <td>Chrome</td>
  18. </tr>
  19. <tr>
  20. <td>无头模式</td>
  21. <td>是否隐藏浏览器窗口</td>
  22. <td>否</td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. <h3 id="输出" tabindex="-1"><a class="header-anchor" href="#输出"><span>输出</span></a></h3>
  27. <ul>
  28. <li><code v-pre>browser</code> - 浏览器实例</li>
  29. </ul>
  30. <h2 id="关闭浏览器" tabindex="-1"><a class="header-anchor" href="#关闭浏览器"><span>关闭浏览器</span></a></h2>
  31. <p>关闭指定的浏览器实例。</p>
  32. </div></template>