We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6021bf commit 00c9f86Copy full SHA for 00c9f86
rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb
@@ -197,11 +197,12 @@ def beta_chrome_version
197
chrome_beta_url = 'https://chromereleases.googleblog.com/search/label/Beta%20updates'
198
199
uri = URI.parse(chrome_beta_url)
200
+
201
response = Net::HTTP.get_response(uri)
202
203
return "Failed to fetch Chrome Beta page: #{response&.code}" unless response.is_a?(Net::HTTPSuccess)
204
- response.body.match(/Chrome Beta\s+\d+\s+\((\d+\.\d+\.\d+\.\d+)\)/)[1]
205
+ response.body.match(/\d+\.\d+\.\d+\.\d+/).to_s
206
end
207
208
private
0 commit comments