title: How do I find elements inside of elements using Selenium with Python?
body: <p>I can't figure out the syntax to return the specific elements in this HTML example.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div class=&quot;calibre&quot; id=&quot;calibre_link-0&quot;&gt;
      &lt;div class=&quot;book&quot; title=&quot;Chapter 11. Web Scraping&quot;&gt;
          &lt;div class=&quot;titlepage&quot;&gt;
              &lt;div class=&quot;book&quot;&gt;
                  &lt;div class=&quot;book&quot;&gt;
                      &lt;h1 class=&quot;title1&quot;&gt;&lt;a id=&quot;calibre_link-2915&quot; class=&quot;firstname&quot;&gt;&lt;/a&gt;Web Scraping&lt;/h1&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  <p>What I have tried is <code>driver.find_elements_by_tag_name('div.calibre.div')</code> and also using
  <code>('div.calibre .div') | ('div.calibre + div')</code> and other variations on those. I have managed to return all the div elements in the page but I just want to return all of the ones nested within the <strong>calibre</strong> class (i.e. book, titlepage, book, and book). Is there a way to do this?</p>