Procházet zdrojové kódy

Fix synopsis in can start binary

Daniel Gempesaw před 10 roky
rodič
revize
bb35c26aa4
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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
     };