title: Parse resulting webpage Python Selenium
body: <p>I used Selenium webdriver in Python to input some text in search field and look for it. I'd now like to parse that page/ use something like BeautifulSoup on it. But I'm confused about how to call the resulting page.</p>
  
  <p>My code so far:</p>
  
  <pre><code>textinput = open("1.txt", "r").read()
  url = "http://www.example.com"
  driver = webdriver.Chrome(executable_path='path/chromedriver.exe')
  driver.get(url)
  sbox = driver.find_element_by_name("a")
  sbox.send_keys(textinput)
  
  submit = driver.find_element_by_xpath('//*[@id="maincontent"]/form/input[5]')
  submit.click()
  </code></pre>