3 class CiviSeleniumSettings {
5 var $publicSandbox = false;
7 var $browser = '*firefox';
10 * @var string SeleniumRC host name
12 var $rcHost = 'localhost';
15 * @var int SeleniumRC port number
19 var $sandboxURL = 'http://devel.drupal.tests.dev.civicrm.org';
21 var $sandboxPATH = '';
23 var $username = 'demo';
25 var $password = 'demo';
27 var $adminUsername = 'USERNAME';
29 var $adminPassword = 'PASSWORD';
31 var $adminApiKey = NULL; // civicrm_contact.api_key for admin
33 var $UFemail = 'noreply@civicrm.org';
36 * @var string site API key
47 * @see CiviSeleniumTestCase::setCookies
49 var $cookies = array();
52 * @var int|NULL seconds to wait for SeleniumRC to become available
54 * If you have custom scripts which launch Selenium and PHPUnit in tandem, then
55 * Selenium may initialize somewhat slowly. Set $serverStartupTimeOut to wait
56 * for Selenium to startup. If you launch Selenium independently or otherwise
57 * prefer to fail immediately, then leave the default value NULL.
59 var $serverStartupTimeOut = NULL;
61 function __construct() {
62 $this->fullSandboxPath = $this->sandboxURL . $this->sandboxPATH;
63 // $this->cookies[] = array(
64 // 'name' => 'mycookie',
65 // 'value' => 'myvalue',
67 // 'max_age' => 24*60*60,