macOS chrome selenium python 谷歌浏览器全屏
1,使用kiosk
#! /usr/local/bin/python3
# coding:utf-8
from selenium import webdriver
from time import sleep
options = webdriver.ChromeOptions()
options.add_argument('--kiosk')
driver = webdriver.Chrome(chrome_options=options)
driver.get('http://www.baidu.com')
sleep(5)
driver.quit()