0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Google Chromeの自動アップデートを阻止する

Posted at

Google Chromeが勝手にアップデートしないようにする方法をご紹介します。
知らぬ間にChromeが勝手にアップデートして、chromedriverとのバージョン一致でSeleniumがエラーを起こすというのが割とよくあります。(Chromeのバージョンアップ毎に)

macOSの場合以下のディレクトリ配下にある(他OSは適宜読み替えを)

$ /Applications/Google Chrome.app/Contents/

Info.plistを編集します。

sudo vi /Applications/Google\ Chrome.app/Contents/Info.plist

250行目付近のKSUpdateURLhttps://tools.google.com/service/update2を適当なものに書き換えます。hogehogeとかあいうえおとかで良いと思います。

<key>KSUpdateURL</key>
<string>https://tools.google.com/service/update2</string>

<key>KSUpdateURL</key>
<string>あいうえお</string>

これにてChrome自動アップデート阻止完了です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?