Skip to content

Instantly share code, notes, and snippets.

View rustyhaidu's full-sized avatar

Claudiu Haidu rustyhaidu

View GitHub Profile
System.out.println("Hello World");
@rustyhaidu
rustyhaidu / Hello.java
Last active December 5, 2023 16:40
Tema de casa
public class Main{
public static void main(String[] args) {
System.out.println();
}
}
@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("vladmuresan@gmail.com");