Przeglądaj źródła

Fix warning in t/01-webdriver3.t

George S. Baugh 8 lat temu
rodzic
commit
5643e07492
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      t/01-webdriver3.t

+ 1 - 1
t/01-webdriver3.t

@@ -109,7 +109,7 @@ EXECOMMAND: {
     #_execute_command with payload 'hitting all the right buttons'
     #also check that fallback works w/ the right special missing word
     #also check capability shortcut
-    my $self = bless({ is_wd3 => 1, capabilities => 'wakka wakka' },"Selenium::Remote::Driver");
+    my $self = bless({ is_wd3 => 1, capabilities => 'wakka wakka', browser_name => 'firefox' },"Selenium::Remote::Driver");
 
     no warnings qw{redefine once};
     local *Selenium::Remote::RemoteConnection::request = sub {return { sessionId => 'zippy', cmd_status => 'OK' }};