mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
28 lines
1005 B
Ruby
28 lines
1005 B
Ruby
cask "chromedriver" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "119.0.6045.105"
|
|
sha256 arm: "53e3c1b1fa5cecf35961e74721d3e759703dc4aa519e89f9bf180a289afaf68c",
|
|
intel: "b11014f51240373f92a2fea86a865ab0ca1aa8cfa62194836da83ddb05ec5422"
|
|
|
|
url "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/#{version}/mac-#{arch}/chromedriver-mac-#{arch}.zip",
|
|
verified: "edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/"
|
|
name "ChromeDriver"
|
|
desc "Automated testing of webapps for Google Chrome"
|
|
homepage "https://chromedriver.chromium.org/"
|
|
|
|
livecheck do
|
|
url "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"
|
|
regex(/v?(\d+(?:\.\d+)+)/i)
|
|
strategy :json do |json, regex|
|
|
json["channels"]["Stable"]["version"]&.scan(regex) { |match| match[0] }
|
|
end
|
|
end
|
|
|
|
conflicts_with cask: "homebrew/cask-versions/chromedriver-beta"
|
|
|
|
binary "chromedriver-mac-#{arch}/chromedriver"
|
|
|
|
# No zap stanza required
|
|
end
|