> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取网页信息

## 指令说明

**描述：** 获取网页标题，网址、源代码、文本等信息

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/_udziDO1jBiOpIxe/helpcenter/commands/web-automation/images/web-page-attr-01.png?fit=max&auto=format&n=_udziDO1jBiOpIxe&q=85&s=02927b248acf5147ad8fdd33abba71b1" alt="获取网页信息指令参数面板" width="660" height="423" data-path="helpcenter/commands/web-automation/images/web-page-attr-01.png" />

    | 参数       | 说明                                      |
    | -------- | --------------------------------------- |
    | **网页对象** | 输入一个获取到的或者通过"打开网页"创建的网页对象               |
    | **获取内容** | 选择要获取的网页信息： 获取网址 获取网页标题 获取网页源码 获取网页文本内容 |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/_udziDO1jBiOpIxe/helpcenter/commands/web-automation/images/web-page-attr-02.png?fit=max&auto=format&n=_udziDO1jBiOpIxe&q=85&s=58b9c84595c3a48070cbcda3ecfcf180" alt="获取网页信息使用示例 - 流程搭建" width="954" height="221" data-path="helpcenter/commands/web-automation/images/web-page-attr-02.png" />

**该流程执行逻辑：**

使用【打开网页】指令打开八爪鱼RPA官网

使用【获取网页信息】指令获取八爪鱼RPA官网网址，并把网址储存到变量“网址”，并打印。

### 效果展示

成功获取网页的网址信息。

<img src="https://mintcdn.com/bazhuayu-rpa-docs/_udziDO1jBiOpIxe/helpcenter/commands/web-automation/images/web-page-attr-03.png?fit=max&auto=format&n=_udziDO1jBiOpIxe&q=85&s=dbfd3a9ee23923f1576bf2c93cb9393c" alt="获取网页信息使用示例 - 运行结果" width="946" height="264" data-path="helpcenter/commands/web-automation/images/web-page-attr-03.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
