I can not understand how to set the selector to select the element I need
For example, there is an html code:
<div class="inner"> <div class="a-row" style="position: relative"> <div class="a-row a-size-small s9Brand">Home</div> <span class="a-color-price a-size-base">$8.99</span> <div class="a-icon a-icon-img a-icon-small" style="margin-left: 4px"><span class="a-icon-alt">price</span></div> </div></div> <div class="inner"> <div class="a-row" style="position: relative"> <div class="a-row a-size-small s9Brand">Home</div> <span class="a-color-price a-size-base">$8.99</span> </div></div>
I want to remove the inner element and all that is inside it, all I need to do is remove the element in which there is an element with the class a-icon