Help for this page

Select Code to Download


  1. or download this
      $elem = $driver->find_element('app-lgs','id' );
        Selenium::Screenshot->new(
    ...
          }]
        )->save( file => "screen.png" );
    
  2. or download this
    Selenium::Screenshot->new(
          png => $driver->screenshot,
    ...
            size     => { width => 10, height => 10 }
            location => { x => 5, y => 5 },
            }]