代码如下:
<div id="deposit-limit-187034" class="widget deposit-limit">
<div class="article deposit-limit-text">
<div class="hidden deposit-limit-edit" data-view-group="deposit-limit" data-view="deposit-limit-edit" style="display: none;">
<div class="hidden deposit-limit-confirm" data-view-group="deposit-limit" data-view="deposit-limit-confirm" style="display: none;">
<div class="hidden deposit-limit-set" data-view-group="deposit-limit" data-view="deposit-limit-set" style="display: block;">
<label>
<input type="radio" checked="checked" name="timelimit" value="0">
<span class="custom-radio"></span>
24 timer
</label>
</div>
<div class="group-field">
<label>
<input type="radio" name="timelimit" value="1">
<span class="custom-radio"></span>
7 dage
</label>
</div>
<div class="group-field">
<label>
<input type="radio" name="timelimit" value="2">
<span class="custom-radio"></span>
30 dage
</label>
</div>
<p> </p>
<fieldset class="amount-field-container">
<p></p>
<p class="deposit-error deposit-limit-set-error hidden"> Vælg venligst en tidsramme og indtast et gyldigt beløb </p>
<button class="btn has-icon-suffix deposit-set">
</form>
</div>
<div class="hidden deposit-limit-active" data-view-group="deposit-limit" data-view="deposit-limit-active" style="display: none; opacity: 0;">
X路径如下:
// [(@ data-view ='deposit-limit-set')和(@ style ='display:block;')] // [(@ class ='field- group field-row radio-container')] // div // label / input [contains(@ name,'timelimit')and contains(@ value,'2')]
有时它会点击单选按钮,有时我会在点(345,802.5)处获得“元素无法点击”。
请帮忙