📜  无头 chrome python 代码示例

📅  最后修改于: 2022-03-11 14:45:20.216000             🧑  作者: Mango

代码示例3
from selenium import webdriver

opts = webdriver.ChromeOptions()
opts.headless = True

with webdriver.Chrome(options = opts) as driver:
  # do stuff