【发布时间】:2016-12-12 10:42:34
【问题描述】:
以下是我需要通用 xpath pr css_selector 的 html 代码
<fieldset>
<legend>Forged Email:</legend>
<p class="custom-err-pos-handle">
<input id="domainforging" class="required custom-err-pos valid" name="forgedemailoption" value="f" aria-required="true" type="checkbox">
<label for="domainforging" style="width:auto" title="Checks that the envelope from domain matches the emails from domain">Envelope Domain Forging</label>
<br>
<input id="replytoheader" class="required custom-err-pos" name="forgedemailoption" value="r" type="checkbox">
<label for="replytoheader" style="width:auto" title="Checks that the domain of the reply-to address matches the envelope from domain">Reply-to Domain Forging</label>
<br>
<input id="headerdomain" class="required custom-err-pos" name="forgedemailoption" value="h" type="checkbox">
<label for="headerdomain" style="width:auto" title="Checks to see if the email From domain has been forged">Header Domain Forging</label>
</p>
</fieldset>
需要传递值“信封域伪造”或“回复域伪造”或“标题域伪造”。
【问题讨论】:
-
I need generic xpath pr css_selector是为了什么??标签还是输入??
标签: python xpath selenium-webdriver