Created
March 24, 2017 18:46
-
-
Save douglasmartins7/5cd5bb69943844641369c08532cd4a48 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
if (digitos == juniper) { | |
WebElement verQuartos = driver.findElement(By.xpath("html/body/div[1]/div[2]/main/div/div/section/aside/div/div/div/div/div/a")); | |
verQuartos.click(); | |
Thread.sleep(2000); | |
WebElement continuar = driver.findElement(By.xpath("html/body/div[1]/div[2]/main/div/div/section/div[3]/div[2]/aside/div/div/div/div/a")); | |
continuar.click(); | |
} else if (digitos == expedia) { | |
System.out.println("Broker: " + digitos); | |
driver.navigate().refresh(); | |
} else if (digitos == hotelbeds) { | |
System.out.println("Broker: " + digitos); | |
driver.navigate().refresh(); | |
} else if (digitos == omnibees) { | |
System.out.println("Broker: " + digitos); | |
driver.navigate().refresh(); | |
} else if (digitos == cvc) { | |
System.out.println("Broker CVC: " + digitos); | |
driver.navigate().refresh(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment