title: How to reach token after solving login captcha
body: <p>i'm trying to automatically login to a site using selenium(+ Python requests)
  after automatically filling username and password and solving captcha by using my trained OCR, i login to site</p>
  <p>but unfortunately when i log in, i cant't take html code of new page or for example ordering to selenium to click on certain  key in order to go to different page</p>
  <p>this is my code:</p>
  <pre><code>from selenium import webdriver
  
  import time
  import requests
  
  url= &quot;C:\\Users\\MyPC\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\chromedriver.exe&quot;
  usernameStr = 'username'
  passwordStr = 'Pass'
  browser = webdriver.Chrome(url)
  browser.get(&quot;https://silver.samanbourse.com/login&quot;)
  username = browser.find_element_by_id('txtusername')
  username.send_keys(usernameStr)
  password = browser.find_element_by_id('txtpassword')
  password.send_keys(passwordStr)
  captcha=''
  captchaButton = browser.find_element_by_xpath(&quot;/html/body/div[1]/div[2]/div[1]/multi-login/div/div[2]/div[1]/form/div[2]/div[1]/div/div/input&quot;)
  captchaButton.send_keys(captcha)
  # time.sleep(3)     i solve this captch!
  signInButton = browser.find_element_by_xpath(&quot;/html/body/div[1]/div[2]/div[1]/multi-login/div/div[2]/div[1]/form/div[4]/div[1]/button&quot;)
  signInButton.click()
  </code></pre>
  <p>by now, i login but now how could i reach token? cause for next requests, i need to set it in headers</p>
  <p>Can you help me?</p>