title: Delete browser Cookies using Capybara
body: <p>Deleting browser cookies using capybara is not working while i changed my code for maximizing browser window.
  Initially i used following code.It works properly in case of deleting cookies</p>
  
  <pre><code> browser = Capybara.current_session.driver.browser
    Capybara.default_wait_time = 12
    browser.manage.delete_all_cookies
  </code></pre>
  
  <p>As per the requirement i need to maximize the browser window.so i changed the above code as follows and getting error in place of <code>browser.manage.delete_all_cookies</code></p>
  
  <pre><code>     browser = Capybara.current_session.driver.browser.manage.window.resize_to(1600, 800)
      Capybara.default_wait_time = 12
      browser.manage.delete_all_cookies
  
  'startTesting':Undefined method 'manage' for nilClass(noMethodError)
  </code></pre>