firefox.test 315 B

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