working on extraciting ids from urls in capybara