> ## 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.

# 设置复选框(web)

## 指令说明

**描述：** 将网页中的复选框状态设置为勾选或不勾选。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/web-automation/images/web-checkbox-01.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=3cd32ba779dbefd46d94c640c05cbd46" alt="设置复选框(web)指令参数面板" width="652" height="376" data-path="helpcenter/commands/web-automation/images/web-checkbox-01.png" />

    | 参数       | 说明                      |
    | -------- | ----------------------- |
    | **网页对象** | 选择要操作的目标元素所在的网页对象       |
    | **选择元素** | 选择目标复选框元素，可通过「捕获新元素」来捕获 |
    | **勾选状态** | 选择：勾选或不勾选               |
  </Tab>

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/web-automation/images/web-checkbox-02.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=93a6aaf02cd64fd566b47f80b5f98133" alt="设置复选框(web)使用示例 - 流程搭建" width="852" height="228" data-path="helpcenter/commands/web-automation/images/web-checkbox-02.png" />

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

使用【打开网页】指令打开指定网页

使用【设置复选框(web)】指令勾选复选框“规则定制”

使用【设置复选框(web)】指令勾选复选框“1对1专属服务”

### 效果展示

复选框状态被成功设置为指定状态。

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/web-automation/images/web-checkbox-03.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=d367cbebd75370eb1f03ec5f719bd315" alt="设置复选框(web)使用示例 - 效果展示" width="332" height="178" data-path="helpcenter/commands/web-automation/images/web-checkbox-03.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/web-automation/images/web-checkbox-04.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=ddeec0d19c8d70ef41879669abbccd8a" alt="设置复选框(web)使用示例 - 效果展示 2" width="390" height="188" data-path="helpcenter/commands/web-automation/images/web-checkbox-04.png" />

<img src="https://mintcdn.com/bazhuayu-rpa-docs/v_rTeoLOdoPnGE6I/helpcenter/commands/web-automation/images/web-checkbox-05.png?fit=max&auto=format&n=v_rTeoLOdoPnGE6I&q=85&s=923deaf9989a179a78f8b67ca83dd5ed" alt="设置复选框(web)使用示例 - 效果展示 3" width="845" height="247" data-path="helpcenter/commands/web-automation/images/web-checkbox-05.png" />

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