脚本向导-帮助文档

脚本向导-帮助文档


附加浏览器

<h1>功能</h1> <p>使您能够附加到已打开的浏览器并在其中执行多项操作的容器。使用网页录制器时,也会自动生成该活动。</p> <h1>输入</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>选取器[*]</td> <td>【字符串】需要打开的窗口,输入表达式。</td> <td>'&lt;html app=''chrome.exe'' title=''百度一下,你就知道'' /&gt;'</td> </tr> <tr> <td>浏览器类型</td> <td>【整型】选择要使用的浏览器类型。可用的选项如有:IE / Firefox / Chrome / Edge</td> <td>Chrome</td> </tr> <tr> <td>浏览器</td> <td>【TBrowser】要附加到现有浏览器变量</td> <td>11(传入变量)</td> </tr> <tr> <td>超时(毫秒)</td> <td>指定最长等待时间(以毫秒为单位),如果超出该时间活动未运行,就会报错。默认值为30000毫秒(30秒)。</td> </tr> </tbody> </table> <h1>选项</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>搜索范围</td> <td>【TBrowser】在其中搜索由‘选取器’属性定义的用户界面元素的应用程序窗口。</td> </tr> </tbody> </table> <h1>输出</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>用户界面浏览器</td> <td>【TBrowser】活动返回的浏览器变量,传入变量或者创建变量输出信息。</td> </tr> </tbody> </table> <h1>注意/说明</h1> <p>1.该函数需与【打开浏览器】函数搭配使用,在打开的窗口进行其他操作,例如在百度搜索框输入‘金智维’信息。 <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d30621f4ce3049ac3ed3aeb9320b70e9" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/087b5483f71c4aeb9450d5fb19a544f3" alt="" /></p> <h1>相关函数</h1> <p>【打开浏览器】函数</p> <h1>示例/演示</h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6417c52b5c82d1474452db314ee0e140" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/5f7822e59fb52e1642d4e07f94e0f945" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/88a8a59bec04e5b98b24f29c76ae6a6b" title="[组件[附加浏览器]_20210423.db">组件[附加浏览器]_20210423.db</a></p>

页面列表

ITEM_HTML