appfolio / ae_page_objects

Page Objects for Capybara
MIT License
28 stars 9 forks source link

full url support #114

Open ipmsteven opened 9 years ago

ipmsteven commented 9 years ago

The current implementation of current_url in aepos is

def current_url
  Capybara.current_session.current_url.sub(/^https?:\/\/[^\/]*/, '')
end

Maybe ae_page_objects should pass down the full URL which would allow other router implementations to make decisions of the full URL.