Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    like($driver->get_title,qr/Google/,"Title matches google");
    
    $driver->quit();
    
  2. or download this
    C:\Users\User1\Documents\TESTPERL>perl TEST.pl
    Error while executing command: invalid argument: 'url' must be a strin
    +g
    ...
      (Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e
    +332711d2874a),platform=Windows NT 6.1.7601 SP1 x86_64) at C:/Strawber
    +ry/perl/site/lib/Selenium/Remot
    e/Driver.pm line 391.
     at C:/Strawberry/perl/site/lib/Selenium/Remote/Driver.pm line 348.