This implements the Session#refresh command to be Capybara 2.15 feature complete and loosens Capybara restrictions to allow 2.x (x >= 3). Capybara is sticking to semver as closely as possible, so there should be no downside to allowing 2.x, since the worst thing would be a user receiving a NotImplementedError raised by Capybara::Driver::Base if capybara-webkit is used with a newer Capybara before implementing any new features it introduces.
It also stops testing Capybara 2.7 due to some Capybara 2.7.1 provided tests no longer being compatible with the ruby binaries on travis trusty. 2.7 is pretty much obsolete and there's no real reason for anyone not to upgrade to 2.15 so I see no issue there.
This implements the Session#refresh command to be Capybara 2.15 feature complete and loosens Capybara restrictions to allow 2.x (x >= 3). Capybara is sticking to semver as closely as possible, so there should be no downside to allowing 2.x, since the worst thing would be a user receiving a
NotImplementedError
raised by Capybara::Driver::Base if capybara-webkit is used with a newer Capybara before implementing any new features it introduces.It also stops testing Capybara 2.7 due to some Capybara 2.7.1 provided tests no longer being compatible with the ruby binaries on travis trusty. 2.7 is pretty much obsolete and there's no real reason for anyone not to upgrade to 2.15 so I see no issue there.