我需要检查哪些字段是必需的,并提取字段的名称(innerText)
在这个例子中,我需要得到“监督组织”和“工人类型”。然而,“WOEG-WBEG-WAFG”也用于非必填字段,因此我需要依赖“WMEG-WHGG”类类型。
<li class="WMEG WHGG" role="presentation" data-automation-id="formLabelRequired">
<div class="WOEG WBEG WAFG">
<label id="56$565285--uid6-formLabel" data-automation-id="formLabel" for="56$565285--uid6-input">Supervisory Organization</label>
<li class="WMEG WHGG" role="presentation" data-automation-id="formLabelRequired">
<div class="WOEG WBEG WAFG">
<label id="56$565284-input--uid11-input-formLabel" data-automation-id="formLabel" for="56$565284-input--uid11-input">Worker Type</label>
提前谢谢
看看这是否有帮助
相关问题 更多 >
编程相关推荐