title: Selenium web input item has no text value
body: <p>I am trying to create a python dictionary from elements on a web page. The sleeps are in to allow my poor internet connection and the glacially slow website to catch up. So far I have</p>
  <pre><code>driver.get(&quot;https://my.crawley.gov.uk/en/service/check_my_bin_collection?accept=yes&amp;consentMessageIds[]=24&quot;)
  WebDriverWait(driver,30).until(EC.frame_to_be_available_and_switch_to_it('fillform-frame-1'))
  
  WebDriverWait(driver,30).until(EC.element_to_be_clickable((By.XPATH,'//*[@id=&quot;PostcodeSearch&quot;]')))
  sleep(1)
  elem = driver.find_element_by_id(&quot;PostcodeSearch&quot;)
  elem.clear()
  elem.send_keys(&quot;RH10 7AB&quot;)
  sleep(2)
  WebDriverWait(driver,30).until(EC.element_to_be_clickable((By.XPATH,'//*[@id=&quot;Choose_Address&quot;]')))
  sleep(1)
  elem = driver.find_element_by_id(&quot;Choose_Address&quot;)
  elem.send_keys(&quot;12&quot;)
  sleep(5)
  elem = driver.find_element_by_class_name(&quot;nextText&quot;)
  elem.click()
  sleep(3)
  
  collection_dict = {}
  
  collectiondetails = {&quot;nextrubbish&quot; : (driver.find_element_by_name(&quot;rubbishDateNext&quot;).getAttribute(&quot;value&quot;))}
                                        
  print(collectiondetails[&quot;nextrubbish&quot;]) 
  </code></pre>
  <p>However I'm struggling to get a value for the rubbishDateNext result. Inspecting the element, it would appear it's not actually got a value and just a load of validation. Ideally, I'd like to have the dictionary value for nextrubbish print as Friday 26 June</p>
  <p>How do I get this out and into Python?</p>