Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I want to write a program that detects when a new version of Chrome has been released - and I want to use the same API that Chrome uses itself when it checks. This is so I can trigger some Selenium tests when the browser gets updated.

Other people have told me to use the blogspot page (http://googlechromereleases.blogspot.com), but there's a lot of noise there from all the different versions tracked on that web page.

It seems it would be a lot more direct to find out the same way that Chrome finds out.

But I can't find a definition of the API - does anybody have any clues or hints? (PS, I can't just pull the exchange off the wire, as Chrome uses https so it is encrypted.)

share|improve this question
add comment

1 Answer 1

I'm not sure about the API, but something more generic that would work for any browser would be to use a selenium test to execute some JavaScript. navigator.appVersion gives you the browser version.

share|improve this answer
    
That would mean the Chrome client would have to have been updated already. I want to capture when a new version of Chrome is available from Google, whether or not any browser has been upgraded to it or not. That's why I need the API. –  user6400 Nov 22 '13 at 16:36
1  
In the case of chrome, it is automatically updated every time you start up the browser. It's actually difficult to get it to not update. –  Sam Woods Nov 22 '13 at 17:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.