<input type="hidden" name="vendor_service[customized_car_types[]][is_checked]">
<input type="checkbox" name="vendor_service[customized_car_types[]][is_checked]">== $0
<b>Sedan</b>
我想单击复选框,当我将鼠标悬停在框上时,html 的第二行被突出显示。我怎样才能点击这个框?
最佳答案
使用 css 选择器,例如:
input[type=checkbox][name*=vendor_service]
关于python - 我想使用 selenium 单击复选框,但没有任何方法对我有用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42146126/