Chaoui05 has asked for the wisdom of the Perl Monks concerning the following question:
That i would like to retrieve in this Array. But i'am not sure it's well done ..?my $white = Selenium::Screenshot->new( png => $driver->screenshot, exclude => [{ size => { width => 100, height => 100 }, # s +ize => $elem->get_size, location => { x => 5, y => 5 }, #location => $el +em->get_element_location, }] ); $white->save( file => "snapScreenshot-$browser" );
Thanks$screenshots{$browser} = new Selenium::Screenshot;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pass an object, a variable in an Array
by stevieb (Canon) on May 26, 2016 at 14:50 UTC | |
by Chaoui05 (Scribe) on May 26, 2016 at 15:42 UTC |