标签:sele ext 文本 bdr current 获取 color import uid
from selenium import webdriver
driver = webdriver.Chrome()
#获取title
title = driver.title
#获取URL
now_url = driver.current_url
#获取文本
user = driver.find_element_by_id("spanUid").text
标签:sele ext 文本 bdr current 获取 color import uid
原文地址:https://www.cnblogs.com/zhang-da/p/12210704.html