title: Can't find element by Selenium
body: <p>Lately I have been learning Python scraping. The part of the source code:</p>
  <pre><code>div class='search__grid'&gt;
    &lt;div class=&quot;photos&quot;&gt;
      &lt;div class='photos__column'&gt;
        &lt;div class='hide-featured-badge hide-favorite-badge'&gt;
          &lt;article class='photo-item photo-item--overlay'&gt;
            &lt;a class=&quot;js-photo-link photo-item__link&quot; href=&quot;/photo/person-holding-black-ceramic-pig-coin-bank-3943723/&quot;&gt;    
              &lt;img srcset=&quot;https://images.pexels.com/photos/3943723/pexels-photo-3943723.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=1&amp;amp;w=500 1x, https://images.pexels.com/photos/3943723/pexels-photo-3943723.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;dpr=2&amp;amp;w=500 2x&quot; 
              class=&quot;photo-item__img&quot; alt=&quot;Person Holding Black Ceramic Pig Coin Bank&quot; data-image-width=&quot;3811&quot; data-image-height=&quot;5716&quot; 
              data-big-src=&quot;https://images.pexels.com/photos/3943723/pexels-photo-3943723.jpeg?auto=compress&amp;amp;cs=tinysrgb&amp;amp;h=750&amp;amp;w=1260&quot; /&gt;
  </code></pre>
  <p>I want to collect the the image link in <code>img.srcset.data-large-src</code>. However, I couldn't find the <code>div</code> element by using:</p>
  <pre><code>find_element_by_class_name('search__grid')
  </code></pre>
  <p>nor <code>by_tag_name(div.search_grid)</code> nor <code>by_css_selector('divsearch_grid')</code>. For example, an error occurred as I used <code>by_class_name</code> as below...</p>
  <pre><code>no such element: Unable to locate element: {&quot;method&quot;:&quot;css selector&quot;,&quot;selector&quot;:&quot;.search__grid&quot;}
  </code></pre>
  <p>I didn't even use the css selector...!</p>
  <p>Another question is how could I extract only the <code>data-big-src</code> link from the <code>srcset</code> attribute?</p>
  <p>I look forward to your opinions. Thanks in advance.</p>