title: How to grab the email value from Temp-Mail Selenium
body: <p>I was trying to automate some email testing, through selenium and python, and I came across the Temp-Mail website: 'https://temp-mail.org/en/'. I was trying to grab the email from it, with the code:</p>
  <pre class="lang-py prettyprint-override"><code>driver.find_element_by_xpath('//*[@id=&quot;mail&quot;]').text
  </code></pre>
  <p>although this comes up empty. I was wondering what method I should be using for this, as the html text is</p>
  <pre><code>&lt;input id=&quot;mail&quot; type=&quot;text&quot; onclick=&quot;select(this);&quot; data-original-title=&quot;Your Temporary Email Address&quot; data-placement=&quot;bottom&quot; data-value=&quot;Loading&quot; class=&quot;emailbox-input opentip&quot; readonly=&quot;&quot;&gt;
  </code></pre>