Answer the question
In order to leave comments, you need to log in
How to exclude div with display none?
Hello!
How to exclude div with attribute display: none; in XPath?
Structure:
<div class="bx_slider_conteiner" id="bx_117848907_245_slider_cont_548" style="display: ;">
<div class="bx_slider_scroller_container">
<div class="bx_slide">
<ul id="bx_117848907_245_slider_list">
<li><span><span></span></span></li>
<li><span><span></span></span></li>
</ul>
</div>
</div>
</div>
<div class="bx_slider_conteiner" id="bx_117848907_361_slider_cont_548" style="display: none;">
<div class="bx_slider_scroller_container">
<div class="bx_slide">
<ul id="bx_117848907_361_slider_list">
<li><span><span></span></span></li>
<li><span><span></span></span></li>
</ul>
</div>
</div>
</div>
//div[not(contains(@style, 'none'))]/ul[contains(@id, 'bx_')][contains(@id, '_')][contains(@id, '_slider_list')]/li/span/span
Answer the question
In order to leave comments, you need to log in
.bar:nth-child(2){
display: none;
}
/**/
.bar:last-child{
display: none;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question