http://qs321.pair.com?node_id=1164051


in reply to Re: Compare method with Selenium
in thread Compare method with Selenium

Hello ablanke

Thanks. I did that and it's perfect. But now i have another issue. I can't get a black out on my page doing that :

$elem = $driver->find_element('applgs','id' ); my $white = Selenium::Screenshot->new( png => $driver->screenshot, exclude => [{ size => { width => 10, height => 10 }, # siz +e => $elem->get_size, location => { x => 5, y => 5 }, #location => $el +em->get_element_location, }] );
Thanks again !