my $URL = shift || 'https://perlmonks.org'; my $mech = WWW::Mechanize::Chrome->new( headless => 0, incognito => 0, separate_session => 1, launch_exe => '/usr/bin/chromium-browser' ); $mech->get($URL);