selenium配置项
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
# 设置浏览设备
mobileEmulation = {'deviceName': 'Pixel 2'}
options.add_experimental_option('mobileEmulation', mobileEmulation)
# 设置无头浏览器
options.add_argument('--headless')
# 禁止加载图片
options.add_argument("blink-settings=imagesEnabled=false")
# linux环境运行报错时配置
options.add_argument("--disable-gpu")
options.add_argument("--no-sandbox")
options.add_argument("--hide-scrollbars")
options.add_argument('--disable-dev-shm-usage')




A beautiful web dashboard for Linux
最近提交(Master分支:16 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)