I am getting upgrade browser popup , when i click on button but i am using capybra version 2.4.4 and capybara webkit 1.15.0.
-> For the solution i changed differnt capybara versions like(2.7.1,2.13.0) but still i am getting upgrade browser popup. Any suggestions to overcome this issue.
TLDR - You can't
Longer answer: The upgrade browser popup isn't based on the version of
capybarayou're using (2.4.4 is really old btw - latest is 3.4.2), it's based on thecapybara-webkitdriver.capybara-webkitis built on QtWebkit which stopped development quite a few years ago. There has been an effort to revive QtWebkit and bring it up to date butcapybara-webkitisn't compatible with that currently. This meanscapybara-webkitis basically equivalent to a 6 year old version of Safari today and can't really be updated. You're going to have much better compatibility with modern web apps if you swap to using headless chrome or firefox via selenium.