title: Get innerHTML with xpath in selenium with python
body: <p>I am trying to learn web scraping, even though I checked the examples in the documentation and some questions here at stack I cannot make my code work.</p>
  
  <p>The website I want to scrape has job listings, but there is no pattern or fixed classes on it's structure, almost each element has his own id and individual classes. When I use the inspector to find the xPath of a innerHTML from a anchor tag that it's what I got:</p>
  
  <p>With Firefox:</p>
  
  <pre><code>/html/body/div[1]/div/main/div[3]/div/div/section/ul/li[1]/article/header/div/div[1]/h2/a
  </code></pre>
  
  <p>With Brave Browser:</p>
  
  <pre><code>//*[@id="16542952"]/section/div/header/h2/a
  </code></pre>
  
  <p>Same url, and same element, first Job Title from results.</p>
  
  <p><a href="https://www.catho.com.br/vagas/data-scientist/?q=data%20scientist&amp;page=1" rel="nofollow noreferrer">URL</a></p>
  
  <p>I want to loop throug the page and get the text from some elements in the Job Listings, like the Job Title, Description, etc.</p>
  
  <p>I am using selenium with Python and Firefox/geckodriver</p>