title: driver.page source , getting html as output , using and save it as variable
body: <pre><code>driver.get('webpage')
  print(driver.page_source)
  </code></pre>
  <p>after using this i get the resulting HTML code as output (<strong>note below</strong>)</p>
  <p>how can i read trought the html, choose a particular portion/information, and then save it as a variable to use later on.</p>
  <blockquote>
  <p>note: {&quot;response&quot;:&quot;1&quot;,&quot;number&quot;:&quot;9398057769&quot;,&quot;id&quot;:90076366,&quot;again&quot;:0,&quot;text&quot;:null,&quot;extra&quot;:&quot;&quot;,&quot;karma&quot;:498.51499999999982,&quot;pass&quot;:null,&quot;sms&quot;:null,&quot;balanceOnPhone&quot;:0,&quot;service&quot;:null,&quot;country&quot;:null,&quot;CountryCode&quot;:&quot;+7&quot;,&quot;branchId&quot;:0,&quot;callForwarding&quot;:false,&quot;goipSlotId&quot;:-1,&quot;lifeSpan&quot;:600}</p>
  </blockquote>
  <p>[UPDATE on my attempt of a solution:]</p>
  <pre><code>numbers = [int(word) for word in nani.split() if word.isdigit()] print(numbers)
  </code></pre>
  <blockquote>
  <p>this does not work (code runs without errors, but output displays nothing.</p>
  </blockquote>