title: AttributeError: 'WebDriver' object has no attribute 'findElement
body: <p>I am working in python with selenium. I want to extract all element in page, but it has stype, not class or ID.
  I am using the following code:</p>
  <pre><code>driver.findElement(&quot;By.xpath(//div[style='background: rgb(255, 255, 255); border-radius: 1rem; padding: 0px 1.25rem; margin-top: 1.25rem; margin-bottom: 3rem;']&quot;)
  </code></pre>
  <p>But this give me the error:</p>
  <pre><code>AttributeError: 'WebDriver' object has no attribute 'findElement'
  </code></pre>
  <p>Here is the source code:</p>
  <pre><code>&lt;div style=&quot;background: rgb(255, 255, 255); border-radius: 1rem; padding: 0px 1.25rem; margin-top: 1.25rem; margin-bottom: 3rem;&quot;&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/43.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ახალი ხორცი და ხორცპროდუქტი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/13.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ახალი ბოსტნეული&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/12.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ახალი ხილი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/38.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;რძის ნაწარმი და კვერცხი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/26.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ყველი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/30.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;პური&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/253.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;საკონდიტრო&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/41.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;მზა კერძები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/591.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;გუდვილის რეცეპტები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/33.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ახალი თევზი და ზღვის პროდუქტი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/32.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ბაკალეა&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/27.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ტკბილეული და სასუსნავი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/31.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;გაყინული პროდუქტი&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/29.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;უალკოჰოლო სასმელები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/34.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ალკოჰოლური სასმელები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/308.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;საკანცელარიო და სათამაშოები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/42.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ბავშვთა კვება და მოვლა&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/24.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ჰიგიენა&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/28.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;სახლის მოვლა&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/25.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ცხოველთა&amp;nbsp;კვება&amp;nbsp;და&amp;nbsp;მოვლა&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/40.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;ელექტრო ნივთები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/37.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;სადღესასწაულო ნივთები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;p style=&quot;margin: 0px; padding: 1.125rem 0px; font-size: 0.875rem; display: flex; align-items: center; border-bottom: 1px solid rgb(241, 241, 245);&quot;&gt;&lt;img src=&quot;/icons/shop/5/447.png&quot; style=&quot;width: 24px; height: 24px; margin-right: 15px;&quot;&gt;Home Cooking Adventures - რეცეპტები&lt;span style=&quot;margin-right: 0.5rem; font-size: 1rem; margin-left: auto;&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot; style=&quot;font-size: 0.75rem; color: rgb(0, 150, 108);&quot;&gt;&lt;/i&gt;&lt;/span&gt; &lt;/p&gt;&lt;/div&gt;
  </code></pre>
  <p>here is link of page and  the element that I want to click:
  <a href="https://moitane.ge/shop/5-gudvili/43-axali-xorci-da-xorcproduqti" rel="nofollow noreferrer">https://moitane.ge/shop/5-gudvili/43-axali-xorci-da-xorcproduqti</a>
  <a href="https://i.stack.imgur.com/Vk3Kd.png" rel="nofollow noreferrer">enter image description here</a></p>