title: Access Children with XPATH
body: <p>I have a problem trying to find element with XPath in Selenium (Python). I want to do two actions : first, to access child element of parent (which is a sub-sub child), and then access next sibling tag to do the same. </p>
  
  <pre><code>&lt;div class="A"&gt;
  
    &lt;div class="non-desired"&gt;&lt;/div&gt;
  
    //First Access to B
    &lt;div class="B"&gt;
      //In order to treat C
      &lt;div class="C"&gt;&lt;/div&gt;
    &lt;/div&gt;
  
    // And then doing the same for all next B elements
    &lt;div class="B"&gt;&lt;/div&gt;
  
     ...
  
    &lt;div class="B"&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to access the first B class (which is the 2nd child of the parent div), in order to access to the C class. And then after it's done, access to the second B class and do the same.. the third B class and do the same... and so on.</p>
  
  <p>I know how to do basic XPATH but i'm lost. What i've done is :</p>
  
  <pre><code>//div[@class='A']/following-sibling::div
  </code></pre>