new changes
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled

This commit is contained in:
2026-03-13 12:05:03 +08:00
commit b16a782f67
27 changed files with 6295 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from selenium import webdriver
from selenium.webdriver.common.by import By
def start_selenium_driver(target_url):
# 使用Selenium启动浏览器并打开购票页面
driver = webdriver.Chrome(executable_path='path/to/chromedriver')
driver.get(target_url)
# 示例:定位元素并点击
login_button = driver.find_element(By.ID, 'login_button')
login_button.click()
return driver