use strict; use warnings; use Selenium::Firefox; use Test::More tests => 2; use Test::Fatal; $ENV{MOZ_HEADLESS} = 1; my $driver; is( exception { $driver = Selenium::Firefox->new(); }, undef, "can spawn new Selenium::Firefox"); is( exception { $driver->shutdown_binary; }, undef, "can shutdown binary correctly");