How about this: browser.set_cookie(:name => "name", :value => "value") browser.delete_cookie(:name => "name") browser.delete_all_cookies()
I want these methods to be with Browser as cookies are related to browser. Thoughts? - Angrez On Wed, Nov 18, 2009 at 12:28 AM, Bret Pettichord <[email protected]>wrote: > > Please make a proposal for the method names and parameters. > > Here is what we have for IE right now. > http://github.com/bret/watir/blob/master/watir/lib/watir/cookiemanager.rb > > I've never used it. I would like to hear from some people who have. What > functionality do you use the cookiemanager for? > > Bret > > Angrez Singh wrote: > > Yes, I have seen that preety interesting stuff. Need to see what all > > we can make into FireWatir. > > > > On Tue, Nov 17, 2009 at 4:57 PM, aidy lewis <[email protected] > > <mailto:[email protected]>> wrote: > > > > > > have you seen this by Matt > > > > > http://sticklebackplastic.com/post/2009/10/20/Advanced-FireWatir-e28093-cheat-sheet.aspx#comment > > ? > > > > Aidy > > > > 2009/11/17 Angrez Singh <[email protected] <mailto:[email protected] > >>: > > > thats what I am waiting for method names. Let me discuss with > > Bret and will > > > let you know you can go ahead and put these methods there. > > > > > > - Angrez > > > > > > On Tue, Nov 17, 2009 at 4:50 PM, aidy lewis > > <[email protected] <mailto:[email protected]>> > > > wrote: > > >> > > >> Are you going to take this up then, otherwise I can do it, if you > > >> provide your preferred method names. > > >> > > >> Not sure how we are going to do it in Watir though. > > >> > > >> Aidy > > >> > > >> 2009/11/17 Angrez Singh <[email protected] > > <mailto:[email protected]>>: > > >> > :) correct thats the approach. Was discussing with Bret the > > syntax, > > >> > method > > >> > names so that its consistent with IE and FF. > > >> > > > >> > - Angrez > > >> > > > >> > On Tue, Nov 17, 2009 at 4:44 PM, aidy lewis > > <[email protected] <mailto:[email protected]>> > > >> > wrote: > > >> >> > > >> >> Angrez, > > >> >> > > >> >> Have you included cookie manipulation methods in FireWatir yet? > > >> >> > > >> >> If not I was think of using the Mozilla Classes > > >> >> > > >> >> https://developer.mozilla.org/en/Code_snippets/Cookies > > >> >> > > >> >> Thanks > > >> >> > > >> >> Aidy > > >> >> > > >> >> > > >> > > > >> > > > >> > > > > >> > > > >> > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
