I have been thinking it is suppose to be something to do with the
tilde, like these, but I can't seem to get them to work:
css=span:contains('Device Groups') ~ div
css=span:contains('Device Groups') ~ div ~ fieldset
Thanks,
-Dave Johnson
html code snippet:
<fieldset id="ext-comp-1079" class="x-fieldset x-panel-collapsed x-
form-label-left" style="width: 588px;">
<legend id="ext-gen480" class="x-fieldset-header x-
unselectable" style="-moz-user-select: none;">
<div id="ext-gen484" class="x-tool x-tool-toggle">
</div>
<span id="ext-gen488" class="x-fieldset-header-
text">Device Groups</span>
</legend>
</fieldset>
http://stackoverflow.com/questions/2000582/css-selector-for-foo-that-contains-bar
alternately, there is probably an xpath node count you can use,
atleast 2-4 javascript commands i can think of that would work, and
probably hundreds of programming language specific options available.