Made aliasing conditional on Capybara version.

Actually referred to the method alias rather then the method.