	package pwa_creditfair;
	
	import java.io.FileInputStream;
	import java.io.FileNotFoundException;
	import java.io.IOException;
	import java.util.HashMap;
	import java.util.Map;
	import java.util.Properties;
	
	import org.openqa.selenium.WebDriver;	
	import org.openqa.selenium.chrome.ChromeDriver;
	import org.openqa.selenium.chrome.ChromeOptions;
	import org.openqa.selenium.interactions.Actions;
	
	
	public class pwa_config {
		public static WebDriver driver;
		public static FileInputStream fileinput = null;
		public static Properties obj = null;
	
		public void config()  throws InterruptedException, IOException {
			obj = new Properties();
			fileinput=new FileInputStream("C:\\Users\\Pratik\\eclipse-workspace\\pwa_creditfair\\src\\pwa_creditfair\\pwa_input.txt");
			obj.load(fileinput);
			 Map<String, Object> prefs = new HashMap<String, Object>();
			 prefs.put("profile.default_content_setting_values.notifications", 2);
			 ChromeOptions options = new ChromeOptions();
			 options.setExperimentalOption("prefs", prefs);
			System.setProperty("webdriver.chrome.driver", "E:\\chromedrive\\chromedriver.exe");
			driver = new ChromeDriver(options);
			driver.manage().window().maximize();
			driver.get("https://testpwa.creditfair.in");
		
			
			
		}
	}
