前言
playwright 默認(rèn)會(huì)下載 chromium,firefox 和 webkit 三個(gè)瀏覽器,目前支持通過(guò)命令下載的瀏覽器有:chromium、chrome、chrome-beta、msedge、msedge-beta、msedge-dev、firefox、webkit
命令行下載
使用 playwright install
命令默認(rèn)會(huì)安裝chromium,firefox 和 webkit 三個(gè)瀏覽器。
可以通過(guò) playwright -h
命令查看目前支持的瀏覽器文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-439718.html
>playwright install --help
Usage: playwright install [options] [browser...]
ensure browsers necessary for this version of Playwright are installed
Options:
--with-deps install system dependencies for browsers
--dry-run do not execute installation, only print information
--force force reinstall of stable browser channels
-h, --help display help for command
Examples:
- $ install
Install default browsers.
- $ install chrome firefox
Install custom browsers, supports chromium, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, firefox, webkit.
從命令行幫助信息中可以看到支持的瀏覽器有:chromium, 文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-439718.html
到了這里,關(guān)于python+playwright 學(xué)習(xí)-32 啟動(dòng)Google Chrome 或 Microsoft Edge瀏覽器的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!