I assume the return value of the save Method is stored in your Scalars $white and $blue
Try this:my $white = Selenium::Screenshot->new( png => $driver->screenshot, exclude => [{ size => { width => 10, height => 10 }, location => { x => 5, y => 5 }, }] ); $white->save( file => "snapScreenshot" );
In reply to Re: Compare method with Selenium
by ablanke
in thread Compare method with Selenium
by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |