Created
January 30, 2013 02:44
-
-
Save saltlakeryan/4670158 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class driver_settings { | |
var $freshman_account = '[email protected]'; | |
var $freshman_password = 'mytest'; | |
var $target_browser = 'firefox'; | |
var $webdriver_host = 'localhost'; | |
var $webdriver_port = '4444'; | |
var $application_url_base = 'http://localhost:8080/'; | |
var $post_url = '/wd/hub'; | |
var $fixture_path = 'X:\programming\tests\scholarship\fixtures\\'; | |
//var $fixture_path = '/tmp/scholarship/fixtures/'; | |
} | |
class firefox_driver_settings extends driver_settings { | |
var $target_browser = 'firefox'; | |
var $webdriver_host = 'localhost'; | |
var $webdriver_port = '4444'; | |
var $application_url_base = 'http://localhost:8080/'; | |
var $post_url = '/wd/hub'; | |
} | |
class chrome_driver_settings extends driver_settings { | |
var $target_browser = 'chrome'; | |
var $webdriver_host = 'localhost'; | |
var $webdriver_port = '9515'; | |
var $application_url_base = 'http://localhost:8080/'; | |
var $post_url = '/'; | |
} | |
class internet_explorer_driver_settings extends driver_settings { | |
var $target_browser = 'internet explorer'; | |
var $webdriver_host = 'localhost'; | |
var $webdriver_port = '5555'; | |
var $application_url_base = 'http://localhost:8080/'; | |
var $post_url = '/'; | |
} | |
$settings = new chrome_driver_settings(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment