📅  最后修改于: 2022-03-11 14:55:18.007000             🧑  作者: Mango
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("some url")
if "your text here" in driver.page_source:
print('Found it!')
else:
print('Did not find it.')