On Feb 22, 1:39 pm, enroxorz <[email protected]> wrote:
> Is there a small write up on how to use this?
>
> Basically, is it part of the browser object like this:
>
> @browser.text_field(:id => 'something').set
> @browser.screen_capture('temp.jpg',true,false)
Like that except you are likely going to want to specify a path for
the file as well as the name.
filename has to be unique, directory where you saving it has to
exist
>
> or is it more like this
>
> @browser.text_field(:id => 'something').set
> screen_capture('temp.jpg',true,false)
>
> On Feb 22, 2:40 pm, Chuck van der Linden <[email protected]> wrote:
>
> >
> > yes there is a screenshot method.
> > seehttp://rubydoc.info/gems/watir/2.0.4/Watir/ScreenCapture#screen_captu...
>
> > On Feb 22, 10:50 am, hillary <[email protected]> wrote:
>
> > > is there a built in method for taking screenshots with watir? either 2.0
> > > or
> > > 3.0.
--
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]