Is there a way to specify the location where the ie window capture should go..?

1 view
Skip to first unread message

priya

unread,
Dec 11, 2009, 2:08:01 AM12/11/09
to watij
Hi,

I wanted to specify a location where my IE window has to be captured
and saved. I can just see the option for the format of the screenshot
but not the location.
Please let me know is there a way to do it.

Thanks,
Priya

Darrell Grainger

unread,
Dec 11, 2009, 7:44:29 AM12/11/09
to wa...@googlegroups.com
If you want to save the file in C:\screenshots\myScreenCapture.png
then just use:

ie.screenCapture("C:\\screenshots\\myScreenCapture.png");



2009/12/11 priya <priya.r...@gmail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "watij" group.
> To post to this group, send email to wa...@googlegroups.com.
> To unsubscribe from this group, send email to watij+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/watij?hl=en.
>
>
>

priya

unread,
Dec 16, 2009, 1:00:23 AM12/16/09
to watij
Thank you !! This make sense..

On Dec 11, 5:44 pm, Darrell Grainger <darrell.grain...@gmail.com>
wrote:
> If you want to save the file in C:\screenshots\myScreenCapture.png
> then just use:
>
>         ie.screenCapture("C:\\screenshots\\myScreenCapture.png");
>
> 2009/12/11 priya <priya.ramad...@gmail.com>:
>
>
>
> > Hi,
>
> > I wanted to specify a location where my IE window has to be captured
> > and saved. I can just see the option for the format of the screenshot
> > but not the location.
> > Please let me know is there a way to do it.
>
> > Thanks,
> > Priya
>
> > --
>
> > You received this message because you are subscribed to the Google Groups "watij" group.
> > To post to this group, send email to wa...@googlegroups.com.
> > To unsubscribe from this group, send email to watij+un...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/watij?hl=en.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages