1、基础元素定位
1、id定位
使用html中标签的id元素去定位,在一般定位中优先选择,举例:
from time import sleep
from selenium import webdriver
from selenium.webdriver.common.by import Bydriver webdriver.Firefox()
driver.get(&q…
下载地址ChromeDriver - WebDriver for Chrome - Downloads
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 113 Current browser version is 117.0.5938.150 with binar…
改
c.cid cid,
表示 c.cid 在
from timetable tt
inner join teacher t on tt.tidt.tid
inner join course c on tt.cidc.cid
where tt.cid#{cid}
查出来了
任何赋值给 后面那个cid t.tname "teacher.tname",
表示查出来 赋值给下图那个teacher类的对应属性…