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/Options

On Mon, Feb 21, 2011 at 4:41 PM, Usman Hussain <[email protected]> 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 <[email protected]> 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 <[email protected]> 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.
>>
>> > [email protected]
>> >http://groups.google.com/group/watir-general
>> > [email protected]
>
> --
> Before posting, please read http://watir.com/support. In short: search before 
> you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>

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

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to