George S. Baugh před 5 roky
rodič
revize
02c6bdff04
2 změnil soubory, kde provedl 14 přidání a 0 odebrání
  1. 1 0
      Changes
  2. 13 0
      lib/Selenium/Remote/Driver.pm

+ 1 - 0
Changes

@@ -4,6 +4,7 @@ Revision history for Selenium-Remote-Driver
         [BUG FIXES]
         -correct incorrect prior changelog date
         -fix undefined value warnings when the remote server goes out to lunch
+        -add a note about doing lots of testing with the selenium JAR to POD
 
 1.37  02-17-2020 TEODESIAN
         [BUG FIXES]

+ 13 - 0
lib/Selenium/Remote/Driver.pm

@@ -256,6 +256,19 @@ As such, to use chrome older than this, you will have to manually force on JSONW
 
     $Selenium::Remote::Driver::FORCE_WD2=1;
 
+=head2 Notes on Running Selenium at Scale via selenium.jar
+
+When running many, many tests in parallel you can eventually reach resource exhaustion.
+You have to instruct the Selenium JAR to do some cleanup to avoid explosions:
+
+Inside of your selenium server's node.json (running a grid), you would put in the following:
+
+"configuration" :
+{
+"cleanUpCycle":2000
+}
+Or run the selenium jar with the -cleanupCycle parameter. Of course use whatever # of seconds is appropriate to your situation.
+
 =head1 CONSTRUCTOR
 
 =head2 new