View Javadoc

1   package com.atlassian.selenium;
2   
3   /**
4    * An abstract implementation of the SeleniumConfigurationClass that
5    * has methods that return default values for some of the configuration
6    * variables
7    * @since v3.12
8    */
9   public abstract class AbstractSeleniumConfiguration implements SeleniumConfiguration {
10  
11      public long getActionWait()
12      {
13          return 400;
14      }
15  
16      public long getPageLoadWait()
17      {
18          return 50000;
19      }
20  
21      public long getConditionCheckInterval()
22      {
23          return 100;
24      }
25  
26      public String getFirefoxProfileTemplate() 
27      {
28          return null;
29      }
30      
31      public boolean getSingleWindowMode()
32      {
33      	return false;
34      }
35  
36  
37      /**
38       * By default return null so reports aren't generated.
39       */
40      public String getPerformanceReportLocation()
41      {
42          return null;
43      }
44  
45      /**
46       * By default return false so only events with explicit keys
47       * are recorded (if a report location is specified).
48       */
49      public boolean getShowAutoGeneratedPerformanceEvents()
50      {
51          return false;
52      }
53      
54  }