This commit is contained in:
Lukáš Kaňka
2023-08-21 21:02:47 +02:00
parent dbd498f34e
commit 02d72d127d
21 changed files with 208 additions and 182 deletions

Binary file not shown.

View File

@ -0,0 +1,25 @@
package cz.lukan;
import com.codeborne.selenide.Configuration;
import org.openqa.selenium.By;
import org.testng.annotations.Test;
import static com.codeborne.selenide.Selenide.$;
import static com.codeborne.selenide.Selenide.open;
public class LaunchBrowser {
@Test
public void testBrowser() {
// System.setProperty("webdriver.gecko.driver", "C:\\Users\\lukas\\Nextcloud\\GitHub\\Java\\Selenium_Selenide_Playwright_JAVA\\Selenite_Naveen\\driver\\geckodriver.exe");
// Configuration.browser = "firefox";
Configuration.headless = true;
open("https://www.google.com/");
// Odmítnutí cookie
$ (By.id("W0wltc")).click();
}
}