IE Questions

647 views
Skip to first unread message

PerfectStorm

unread,
Aug 3, 2009, 9:33:49 PM8/3/09
to webdriver
I have a couple questions about the capabilities of Webdriver. In our
current automation we have scripts thatcapture analytics data by
useing a http sniffer called httpwatch. In my automation I am able to
attach the plugin to IE and start it and stop it from recording
traffic similar to the link here

http://www.httpwatch.com/rubywatir/

Also is it possible to delete cookies and cache through webdriver? Has
this been implemented yet.

Thanks

Steve CCRP

unread,
Aug 4, 2009, 1:19:10 PM8/4/09
to webdriver
The Options interface gives you the ability to add and delete cookies.

http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/WebDriver.Options.html

Eg.
Set<Cookie> cookies = driver.manage().getCookies()

I don't think there's a function available to clear cache, but when
you start a new Firefox Driver it creates a new profile (don't have to
clear cache since it's a brand new profile).

What was your first question?

PerfectStorm

unread,
Aug 4, 2009, 1:37:09 PM8/4/09
to webdriver
Sorry bad english

I was curious if I would be able to attach httpwatch to the browser in
a similar fashion as I did using com with webdriver

On Aug 4, 1:19 pm, Steve CCRP <stevec...@gmail.com> wrote:
> The Options interface gives you the ability to add and delete cookies.
>
> http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/WebDr...
>
> Eg.
> Set<Cookie> cookies = driver.manage().getCookies()
>
> I don't think there's a function available to clear cache, but when
> you start a new Firefox Driver it creates a new profile (don't have to
> clear cache since it's a brand new profile).
>
> What was your first question?
>
> On Aug 3, 6:33 pm, PerfectStorm <john.majc...@gmail.com> wrote:
>
>
>
> > I have a couple questions about the capabilities of Webdriver. In our
> > current automation we have scripts thatcapture analytics data by
> > useing a http sniffer called httpwatch. In my automation I am able to
> > attach the plugin to IE and start it and stop it from recording
> > traffic similar to the link here
>
> >http://www.httpwatch.com/rubywatir/
>
> > Also is it possible to delete cookies and cache through webdriver? Has
> > this been implemented yet.
>
> > Thanks- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages