Hi Jari,

So if i put:
  @browser.driver.manage
  @browser.delete_all_cookies

should that delete all the cookies on the page that I am on?
Just for reference @browser = Watir::Browser.new(:firefox)

Kind regards,
Usman Hussain

On Feb 21, 3:53 pm, Jari Bakken <jari.bak...@gmail.com> wrote:
> WebDriver has the capability but it's not (yet) exposed on the Watir side.
>
> You can access WebDriver's Options interface [1] through
>
>   browser.driver.manage #=> #<Selenium::WebDriver::Options>
>
> Jari
>
> [1]http://rubydoc.info/gems/selenium-webdriver/0.1.3/Selenium/WebDriver/...
>
>
>
>
>
>
>
> On Mon, Feb 21, 2011 at 4:41 PM, Usman Hussain <usmanhhuss...@gmail.com> 
> wrote:
> > Hi Guys,
>
> > Did this get implemented for Watir-Webdriver? If so what is the method
> > to delete all cookies or a specific cookie?
> > Im using a MAC, and having been searching the net for this. Has this
> > already been completed? Where can i get it from?
>
> > Kind regards,
> > Usman Hussain
>
> > On Jan 20, 11:00 pm, Charley Baker <charley.ba...@gmail.com> wrote:
> >> Cool, I guess you're looking at setting up a Jira ticket? Please add
> >> one for this.
>
> >> Cheers,
>
> >> Charley Baker
> >> Lead Developer, Watir,http://watir.com
>
> >> On Thu, Jan 20, 2011 at 11:45 AM, Chad Larkin <chadjlar...@gmail.com> 
> >> wrote:
> >> > I just started to look into cookie management for testing some form
> >> > pages that leave a cookie.  To test the form from various referrers
> >> > the cookie must be deleted so the form is not pre-populated on
> >> > revisit.  This would be the removal of a specific cookie not all
> >> > cookies.
>
> >> > --
> >> > Before posting, please readhttp://watir.com/support. In short: search 
> >> > before you ask, be nice.
>
> >> > watir-general@googlegroups.com
> >> >http://groups.google.com/group/watir-general
> >> > watir-general+unsubscr...@googlegroups.com
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search 
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/watir-general
> > watir-general+unsubscr...@googlegroups.com

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to