powershell 安装Chrome
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了powershell 安装Chrome相关的知识,希望对你有一定的参考价值。
$P = $env:TEMP + '\chrome_installer.exe'; Invoke-WebRequest 'https://dl.google.com/chrome/install/latest/chrome_installer.exe' -OutFile $P; Start-Process -FilePath $P -Args '/silent /install' -Verb RunAs -Wait; Remove-Item $P
以上是关于powershell 安装Chrome的主要内容,如果未能解决你的问题,请参考以下文章
Chrome安装错误:“Egads!安装失败”
在 PowerShell 中使用特定配置文件启动 Chrome
使用 Powershell 静默卸载 Chrome
使用 PowerShell 将 Chrome 和 Edge Chromium 中的书签 JSON 文件合并到一个文件中?
如何在没有错误消息或异常的情况下调试 PowerShell 进程
使用 PowerShell 和 Selenium 4 查找元素