public JBehaveStories(){
		
		final Properties testProp = new Properties();
		
		try {
			InputStream is = getClass().getClassLoader().getResourceAsStream("test.properties");
			testProp.load(is);
			
			this.selenium = new DefaultSelenium(
					testProp.getProperty("selenium.host"),
					Integer.parseInt(testProp.getProperty("selenium.port")),
					testProp.getProperty("selenium.driver"),
					testProp.getProperty("target.url"));
			
		} catch (IOException e) {
			// give some default value
			this.selenium = new DefaultSelenium("localhost", 4444,
					"*firefox",
					"http://localhost:8080");			
		}
		
		this.conditionRunner = SeleniumConfiguration.defaultConditionRunner(selenium);
		this.pages = new Pages(selenium, conditionRunner);
		this.lifecycleSteps = new PerStorySeleniumSteps(selenium);
		this.seleniumContext = new SeleniumContext();
	}