<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>
</tr>
</thead>
<tbody>
<tr>
<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>text</code> - 提取的文本</li>
</ul>
<h2 id="获取属性" tabindex="-1"><a class="header-anchor" href="#获取属性"><span>获取属性</span></a></h2>
<p>提取元素的属性值。</p>
<h3 id="参数-1" tabindex="-1"><a class="header-anchor" href="#参数-1"><span>参数</span></a></h3>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>选择器</td>
<td>目标元素选择器</td>
</tr>
<tr>
<td>属性名</td>
<td>要获取的属性</td>
</tr>
</tbody>
</table>
<h3 id="输出-1" tabindex="-1"><a class="header-anchor" href="#输出-1"><span>输出</span></a></h3>
<ul>
<li><code v-pre>value</code> - 属性值</li>
</ul>
<h2 id="截图" tabindex="-1"><a class="header-anchor" href="#截图"><span>截图</span></a></h2>
<p>对页面或元素截图。</p>
<h3 id="参数-2" tabindex="-1"><a class="header-anchor" href="#参数-2"><span>参数</span></a></h3>
<table>
<thead>
<tr>
<th>参数</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>类型</td>
<td>全页面 / 可视区域 / 元素</td>
</tr>
</tbody>
</table>
<h3 id="输出-2" tabindex="-1"><a class="header-anchor" href="#输出-2"><span>输出</span></a></h3>
<ul>
<li><code v-pre>screenshot</code> - 截图数据</li>
</ul>
</div></template>


