Skip to content

Instantly share code, notes, and snippets.

@iamjarvo
Created September 20, 2012 03:29
Show Gist options
  • Save iamjarvo/3753815 to your computer and use it in GitHub Desktop.
Save iamjarvo/3753815 to your computer and use it in GitHub Desktop.
Delete cookies with capybara and selenium
browser = Capybara.current_session.driver.browser
browser.manage.delete_cookie '_al_session'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment