尝试移动范围滑块。 这是来自DBM出价管理器的HTML。 在下面的例子中,我们讨论的是一个2滑块条,表示年龄范围。
<div class="BK62FH-Ge-a" id="gwt-debug-demographicEditor-ageRangeEditor">
<div tabindex="0" class="BK62FH-Ub-a BK62FH-Ub-c BK62FH-Ub-d BK62FH-Ge-c" id="gwt-debug-demographicEditor-ageRangeEditor-ageRangeSlider" style="width: 204px; padding-right: 5px;">
<input type="text" tabindex="-1" role="presentation" style="opacity: 0; height: 1px; width: 1px; z-index: -1; overflow: hidden; position: absolute;">
<div>
<ol class="BK62FH-Ub-j">
...
</ol>
<div tabindex="0">
<input type="text" tabindex="-1" role="presentation" style="opacity: 0; height: 1px; width: 1px; z-index: -1; overflow: hidden; position: absolute;">
<div>
<div tabindex="0" class="BK62FH-Ub-f BK62FH-Ub-i" style="left: 0px;">
<input type="text" tabindex="-1" role="presentation" style="opacity: 0; height: 1px; width: 1px; z-index: -1; overflow: hidden; position: absolute;">
<span class="BK62FH-Ub-g">V</span>
</div>
<div tabindex="0" class="BK62FH-Ub-f BK62FH-Ub-h" style="left: 204px;">
<input type="text" tabindex="-1" role="presentation" style="opacity: 0; height: 1px; width: 1px; z-index: -1; overflow: hidden; position: absolute;">
<span class="BK62FH-Ub-g">V</span>
</div>
</div>
</div>
<div tabindex="0" class="BK62FH-Ub-e" style="left: 0px; width: 204px;">
<input type="text" tabindex="-1" role="presentation" style="opacity: 0; height: 1px; width: 1px; z-index: -1; overflow: hidden; position: absolute;">
</div>
</div>
</div>
<span class="gwt-CheckBox BK62FH-Ge-d" id="gwt-debug-demographicEditor-ageRangeEditor-includeUnknownCheckbox">
<input type="checkbox" value="on" id="gwt-debug-demographicEditor-ageRangeEditor-includeUnknownCheckbox-input" tabindex="0" checked="">
<label for="gwt-debug-demographicEditor-ageRangeEditor-includeUnknownCheckbox-input" id="gwt-debug-demographicEditor-ageRangeEditor-includeUnknownCheckbox-label">
<ui:message description="Text for include unknown age range checkbox in demographic targeting."> Include unknown </ui:message>
</label>
</span>
<div class="gwt-Label BK62FH-Ge-b" id="gwt-debug-demographicEditor-ageRangeEditor-ageTextLabel">All ages</div>
尝试使用ActionChains方法并且它不起作用...