如何使用python和chrome web驱动程序检索承载身份验证令牌?

时间:2018-08-24 10:53:58

标签: python authentication webdriver

我有一个python脚本,可使用chrome webdriver登录到网站。 但是,我需要打印出承载令牌身份验证

我应该如何进行?这有可能吗?谢谢...

body {
    font-size: 50%;
    background-color: green;
  }

continue = https%3A%2F%2Fkauth.kakao.com%2Foauth%2Fauthorize%3Fclient_id%3Dec10db670bd119e740558ca82e00b250%26redirect_uri%3Dhttps%3A%2F%2Fupbit.com%2Foauth%26response_type%3Dcode>

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

usernameStr = 'xxxxxxx@gmail.com'
passwordStr = 'xxxxxxxxxxxx'

browser = webdriver.Chrome()
browser.get(('https://accounts.kakao.com/login?   

0 个答案:

没有答案