Selenium using Chrome


Follow the instructions in the wiki


java -Dwebdriver.chrome.driver="/home/gabor/Downloads/chromedriver" -jar /home/gabor/Downloads/selenium-server-standalone-2.42.2.jar


examples/www/selenium_ddg_chrome.pl
use strict;
use warnings;
use 5.010;

use Selenium::Remote::Driver;
 
my $driver = Selenium::Remote::Driver->new(
    browser_name => 'chrome',
);
$driver->get('https://duckduckgo.com/');
sleep 5;
say $driver->get_title();
$driver->quit();