This file contains 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
@Test | |
public void test1() throws InterruptedException { | |
Thread.sleep(5000); | |
WebElement iframe = driver.findElement(By.cssSelector("iframe[id*='google_ads_iframe']")); | |
JavascriptExecutor jsExecutor = (JavascriptExecutor) driver; | |
jsExecutor.executeScript("arguments[0].style.display='none'", iframe); | |
driver.findElement(By.cssSelector("#firstName")).sendKeys("Vlad"); | |
driver.findElement(By.cssSelector("#lastName")).sendKeys("Muresan"); | |
driver.findElement(By.cssSelector("#userEmail")).sendKeys("[email protected]"); |
This file contains 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
public class Main{ | |
public static void main(String[] args) { | |
System.out.println(); | |
} | |
} |
This file contains 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
System.out.println("Hello World"); |