public Page(){
		
		logger = Logger.getLogger(Page.class);
		logger.setLevel(Level.INFO);
		BasicConfigurator.configure();
		
		if(driver==null){
		// initialize the properties file
		CONFIG= new Properties();
		OR = new Properties();
		try{
			// config
			FileInputStream fs = new FileInputStream(System.getProperty("user.dir")+"\\src\\main\\resources\\config.properties");
			CONFIG.load(fs);

		}catch(Exception e){
				// error
				return;
		}
		
		System.out.println(CONFIG.getProperty("browser"));
		if(CONFIG.getProperty("browser").equals("Mozilla"))
			  this.driver=new FirefoxDriver();
		else if(CONFIG.getProperty("browser").equals("IE"))
		  this.driver=new InternetExplorerDriver();
		else if(CONFIG.getProperty("browser").equals("Chrome")){
			this.driver=new ChromeDriver();
		}
		driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
		driver.manage().window().maximize();
		
		home = new Home();
	
		register = home.Registration();
	
		payment = home.makePayment();
		PageFactory.initElements(Page.driver, Basket.class);
	
	}
		
}