Subversion Repositories SmartDukaan

Rev

Rev 34415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34415 Rev 34423
Line 80... Line 80...
80
        do {
80
        do {
81
            driver.get("https://support.oppo.com/in/warranty-check/");
81
            driver.get("https://support.oppo.com/in/warranty-check/");
82
            try {
82
            try {
83
                driver.findElement(By.cssSelector(".cp-cookie-tip a.close")).click();
83
                driver.findElement(By.cssSelector(".cp-cookie-tip a.close")).click();
84
            } catch (Exception e) {
84
            } catch (Exception e) {
85
                try {
-
 
86
                    System.out.println("Cookie not found");
-
 
87
                } catch (Exception e1) {
-
 
88
                }
-
 
89
            }
85
            }
90
 
86
 
91
            for (int i = 0; i < remainingImeis.size(); i++) {
87
            for (int i = 0; i < remainingImeis.size(); i++) {
92
                String imei = remainingImeis.get(i);
88
                String imei = remainingImeis.get(i);
93
                try {
89
                try {