Ver Fonte

Fix synopsis in can start binary

Daniel Gempesaw há 10 anos atrás
pai
commit
bb35c26aa4
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      lib/Selenium/CanStartBinary.pm

+ 3 - 0
lib/Selenium/CanStartBinary.pm

@@ -15,6 +15,9 @@ use Moo::Role;
 
         has 'binary' => ( is => 'ro', default => 'chromedriver' );
         has 'binary_port' => ( is => 'ro', default => 9515 );
+        has '_binary_args' => ( is => 'ro', default => sub {
+            return ' --port=' . shift->port . ' --url-base=wd/hub ';
+        });
         with 'Selenium::CanStartBinary';
         1
     };