Python selenium(html)复选框

2024-09-29 18:39:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着用普通的.click()命令点击这个按钮,但它不起作用

手动单击后,类将从这个“glyphsSpriteCircle__outline__24__grey_2 u-__7”更改为这个“glyphsSpriteCircle_check__filled__24__blue_5 u-__7”,该怎么办

<button class="dCJp8">
  <span aria-label="Toggle selection" class="glyphsSpriteCircle__outline__24__grey_2 u-__7"></span>
</button>

Tags: 命令checkbuttonblue手动按钮classgrey

热门问题