Best FluentLenium code snippet using org.fluentlenium.adapter.TestRunnerCommon.deleteCookies
Source:FluentTestRunnerAdapter.java
1package org.fluentlenium.adapter;2import static org.fluentlenium.adapter.TestRunnerCommon.deleteCookies;3import static org.fluentlenium.adapter.TestRunnerCommon.doHtmlDump;4import static org.fluentlenium.adapter.TestRunnerCommon.doScreenshot;5import static org.fluentlenium.adapter.TestRunnerCommon.getTestDriver;6import static org.fluentlenium.adapter.TestRunnerCommon.quitMethodAndThreadDrivers;7import static org.fluentlenium.utils.AnnotationUtil.getClassAnnotationForClass;8import static org.fluentlenium.utils.AnnotationUtil.getMethodAnnotationForMethod;9import static org.fluentlenium.utils.ScreenshotUtil.isIgnoredException;10import static org.fluentlenium.utils.ThreadLocalAdapterUtil.clearThreadLocals;11import static org.fluentlenium.utils.ThreadLocalAdapterUtil.getClassFromThread;12import static org.fluentlenium.utils.ThreadLocalAdapterUtil.getMethodNameFromThread;13import static org.fluentlenium.utils.ThreadLocalAdapterUtil.setTestClassAndMethodValues;14import java.lang.annotation.Annotation;15import java.util.List;16import org.fluentlenium.adapter.SharedMutator.EffectiveParameters;17import org.fluentlenium.adapter.sharedwebdriver.SharedWebDriver;18import org.fluentlenium.adapter.sharedwebdriver.SharedWebDriverContainer;19/**20 * FluentLenium Test Runner Adapter.21 * <p>22 * Extends this class to provide FluentLenium support to your Test class.23 */24@SuppressWarnings("PMD.GodClass")25public class FluentTestRunnerAdapter extends FluentAdapter implements TestRunnerAdapter {26 private final SharedMutator sharedMutator;27 private static final ThreadLocal<EffectiveParameters<?>> PARAMETERS_THREAD_LOCAL = new ThreadLocal<>();28 private static final ThreadLocal<String> TEST_METHOD_NAME = new ThreadLocal<>();29 private static final ThreadLocal<Class<?>> TEST_CLASS = new ThreadLocal<>();30 /**31 * Creates a new test runner adapter.32 */33 public FluentTestRunnerAdapter() {34 this(new DefaultFluentControlContainer());35 }36 /**37 * Creates a test runner adapter, with a custom driver container.38 *39 * @param driverContainer driver container40 */41 public FluentTestRunnerAdapter(FluentControlContainer driverContainer) {42 this(driverContainer, new DefaultSharedMutator());43 }44 /**45 * Creates a test runner adapter, with a custom shared mutator.46 *47 * @param sharedMutator shared mutator.48 */49 public FluentTestRunnerAdapter(SharedMutator sharedMutator) {50 this(new DefaultFluentControlContainer(), sharedMutator);51 }52 /**53 * Creates a test runner adapter, with a customer driver container and a customer shared mutator.54 *55 * @param driverContainer driver container56 * @param sharedMutator shared mutator57 */58 public FluentTestRunnerAdapter(FluentControlContainer driverContainer, SharedMutator sharedMutator) {59 super(driverContainer);60 this.sharedMutator = sharedMutator;61 }62 /**63 * Creates a test runner adapter, with a customer driver container and a customer shared mutator.64 * It is possible to pass class from which the FluentConfiguration annotation will be loaded.65 *66 * @param driverContainer driver container67 * @param clazz class from which FluentConfiguration annotation will be loaded68 * @param sharedMutator shared mutator69 */70 public FluentTestRunnerAdapter(FluentControlContainer driverContainer, Class<?> clazz, SharedMutator sharedMutator) {71 super(driverContainer, clazz);72 this.sharedMutator = sharedMutator;73 }74 @Override75 public Class<?> getTestClass() {76 return getClassFromThread(TEST_CLASS);77 }78 @Override79 public String getTestMethodName() {80 return getMethodNameFromThread(TEST_METHOD_NAME);81 }82 @Override83 public <T extends Annotation> T getClassAnnotation(Class<T> annotation) {84 return getClassAnnotationForClass(annotation, getClassFromThread(TEST_CLASS));85 }86 @Override87 public <T extends Annotation> T getMethodAnnotation(Class<T> annotation) {88 return getMethodAnnotationForMethod(89 annotation,90 getClassFromThread(TEST_CLASS),91 getMethodNameFromThread(TEST_METHOD_NAME));92 }93 /**94 * Invoked when a test method is starting.95 */96 protected void starting() {97 starting(getClass());98 }99 /**100 * Invoked when a test method is starting.101 *102 * @param testName Test name103 */104 protected void starting(String testName) {105 starting(getClass(), testName);106 }107 /**108 * Invoked when a test method is starting.109 *110 * @param testClass Test class111 */112 protected void starting(Class<?> testClass) {113 starting(testClass, testClass.getName());114 }115 /**116 * Invoked when a test method is starting.117 *118 * @param testClass Test class119 * @param testName Test name120 */121 protected void starting(Class<?> testClass, String testName) {122 PARAMETERS_THREAD_LOCAL.set(sharedMutator.getEffectiveParameters(testClass, testName,123 getDriverLifecycle()));124 SharedWebDriver sharedWebDriver = getTestDriver(testClass, testName,125 this::newWebDriver, this::failed,126 getConfiguration(), PARAMETERS_THREAD_LOCAL.get());127 setTestClassAndMethodValues(PARAMETERS_THREAD_LOCAL, TEST_CLASS, TEST_METHOD_NAME);128 initFluent(sharedWebDriver.getDriver());129 }130 /**131 * Invoked when a test method has finished (whatever the success of failing status)132 */133 protected void finished() {134 finished(getClass());135 }136 /**137 * Invoked when a test method has finished (whatever the success of failing status)138 *139 * @param testName Test name140 */141 protected void finished(String testName) {142 finished(getClass(), testName);143 }144 /**145 * Invoked when a test method has finished (whatever the success of failing status)146 *147 * @param testClass Test class148 */149 protected void finished(Class<?> testClass) {150 finished(testClass, testClass.getName());151 }152 /**153 * Invoked when a test method has finished (whatever the success of failing status)154 *155 * @param testClass Test class156 * @param testName Test name157 */158 protected void finished(Class<?> testClass, String testName) {159 DriverLifecycle driverLifecycle = getDriverLifecycle();160 SharedWebDriver sharedWebDriver = SharedWebDriverContainer.INSTANCE161 .getDriver(sharedMutator.getEffectiveParameters(testClass, testName, driverLifecycle));162 quitMethodAndThreadDrivers(driverLifecycle, sharedWebDriver);163 deleteCookies(sharedWebDriver, getConfiguration());164 clearThreadLocals(PARAMETERS_THREAD_LOCAL, TEST_CLASS, TEST_METHOD_NAME);165 releaseFluent();166 }167 /**168 * Invoked when a test method has failed (before finished)169 */170 protected void failed() {171 failed(getClass());172 }173 /**174 * Invoked when a test method has failed (before finished)175 *176 * @param testName Test name177 */...
Source:SpringTestNGAdapter.java
...9import org.fluentlenium.adapter.sharedwebdriver.SharedWebDriverContainer;10import org.fluentlenium.core.inject.ContainerFluentControl;11import org.openqa.selenium.WebDriver;12import java.lang.annotation.Annotation;13import static org.fluentlenium.adapter.TestRunnerCommon.deleteCookies;14import static org.fluentlenium.adapter.TestRunnerCommon.doHtmlDump;15import static org.fluentlenium.adapter.TestRunnerCommon.doScreenshot;16import static org.fluentlenium.adapter.TestRunnerCommon.getTestDriver;17import static org.fluentlenium.adapter.TestRunnerCommon.quitMethodAndThreadDrivers;18import static org.fluentlenium.utils.AnnotationUtil.getClassAnnotationForClass;19import static org.fluentlenium.utils.AnnotationUtil.getMethodAnnotationForMethod;20import static org.fluentlenium.utils.ScreenshotUtil.isIgnoredException;21import static org.fluentlenium.utils.ThreadLocalAdapterUtil.clearThreadLocals;22import static org.fluentlenium.utils.ThreadLocalAdapterUtil.getClassFromThread;23import static org.fluentlenium.utils.ThreadLocalAdapterUtil.getMethodNameFromThread;24import static org.fluentlenium.utils.ThreadLocalAdapterUtil.setTestClassAndMethodValues;25/**26 * FluentLenium Test Runner Adapter.27 * <p>28 * Extends this class to provide FluentLenium support to your Test class.29 */30@SuppressWarnings("PMD.GodClass")31class SpringTestNGAdapter extends SpringTestNGControl implements TestRunnerAdapter, IFluentAdapter {32 private final SharedMutator sharedMutator;33 private static final ThreadLocal<EffectiveParameters<?>> PARAMETERS_THREAD_LOCAL = new ThreadLocal<>();34 private static final ThreadLocal<String> TEST_METHOD_NAME = new ThreadLocal<>();35 private static final ThreadLocal<Class<?>> TEST_CLASS = new ThreadLocal<>();36 /**37 * Creates a new test runner adapter.38 */39 SpringTestNGAdapter() {40 super(new ThreadLocalFluentControlContainer());41 this.sharedMutator = new DefaultSharedMutator();42 }43 @Override44 public Class<?> getTestClass() {45 return getClassFromThread(TEST_CLASS);46 }47 @Override48 public String getTestMethodName() {49 return getMethodNameFromThread(TEST_METHOD_NAME);50 }51 @Override52 public <T extends Annotation> T getClassAnnotation(Class<T> annotation) {53 return getClassAnnotationForClass(annotation, getClassFromThread(TEST_CLASS));54 }55 @Override56 public <T extends Annotation> T getMethodAnnotation(Class<T> annotation) {57 return getMethodAnnotationForMethod(58 annotation,59 getClassFromThread(TEST_CLASS),60 getMethodNameFromThread(TEST_METHOD_NAME));61 }62 /**63 * Invoked when a test method is starting.64 *65 * @param testClass Test class66 * @param testName Test name67 */68 protected void starting(Class<?> testClass, String testName) {69 PARAMETERS_THREAD_LOCAL.set(sharedMutator.getEffectiveParameters(testClass, testName,70 getDriverLifecycle()));71 SharedWebDriver sharedWebDriver = getTestDriver(testClass, testName,72 this::newWebDriver, this::failed,73 getConfiguration(), PARAMETERS_THREAD_LOCAL.get());74 setTestClassAndMethodValues(PARAMETERS_THREAD_LOCAL, TEST_CLASS, TEST_METHOD_NAME);75 initFluent(sharedWebDriver.getDriver());76 }77 /**78 * Invoked when a test method has finished (whatever the success of failing status)79 *80 * @param testClass Test class81 * @param testName Test name82 */83 protected void finished(Class<?> testClass, String testName) {84 DriverLifecycle driverLifecycle = getDriverLifecycle();85 SharedWebDriver sharedWebDriver = SharedWebDriverContainer.INSTANCE86 .getDriver(sharedMutator.getEffectiveParameters(testClass, testName, driverLifecycle));87 quitMethodAndThreadDrivers(driverLifecycle, sharedWebDriver);88 deleteCookies(sharedWebDriver, getConfiguration());89 clearThreadLocals(PARAMETERS_THREAD_LOCAL, TEST_CLASS, TEST_METHOD_NAME);90 releaseFluent();91 }92 /**93 * Invoked when a test method has failed (before finished)94 *95 * @param e Throwable thrown by the failing test.96 * @param testClass Test class97 * @param testName Test name98 */99 protected void failed(Throwable e, Class<?> testClass, String testName) {100 if (isFluentControlAvailable() && !isIgnoredException(e)) {101 doScreenshot(testClass, testName, this, getConfiguration());102 doHtmlDump(testClass, testName, this, getConfiguration());...
Source:TestRunnerCommon.java
...23 if (driverLifecycle == METHOD || driverLifecycle == THREAD) {24 Optional.ofNullable(sharedWebDriver).ifPresent(SharedWebDriverContainer.INSTANCE::quit);25 }26 }27 public static void deleteCookies(SharedWebDriver sharedWebDriver, Configuration configuration) {28 if (configuration.getDeleteCookies()) {29 Optional.ofNullable(sharedWebDriver).ifPresent(shared -> shared.getDriver().manage().deleteAllCookies());30 }31 }32 public static SharedWebDriver getTestDriver(Class<?> testClass, String testName, Supplier<WebDriver> webDriver,33 TriConsumer<Throwable, Class<?>, String> failed,34 Configuration configuration, EffectiveParameters<?> parameters) {35 SharedWebDriver sharedWebDriver;36 try {37 sharedWebDriver = SharedWebDriverContainer.INSTANCE.getSharedWebDriver(38 parameters, null, webDriver, configuration);39 } catch (ExecutionException | InterruptedException e) {40 failed.accept(null, testClass, testName);41 String causeMessage = getCauseMessage(e);...
deleteCookies
Using AI Code Generation
1public class DeleteCookies extends TestRunnerCommon {2 public void testDeleteCookies() {3 deleteCookies();4 }5}6public class GetCookieNamed extends TestRunnerCommon {7 public void testGetCookieNamed() {8 getCookieNamed("NID");9 }10}11public class GetCookies extends TestRunnerCommon {12 public void testGetCookies() {13 getCookies();14 }15}16public class GetDriver extends TestRunnerCommon {17 public void testGetDriver() {18 getDriver();19 }20}21public class GetDriver extends TestRunnerCommon {22 public void testGetDriver() {23 getDriver();24 }25}26public class GetDriver extends TestRunnerCommon {27 public void testGetDriver() {28 getDriver();29 }30}31public class GetDriver extends TestRunnerCommon {32 public void testGetDriver() {33 getDriver();34 }35}36public class GetDriver extends TestRunnerCommon {37 public void testGetDriver() {38 getDriver();39 }40}
deleteCookies
Using AI Code Generation
1public class DeleteCookies extends TestRunnerCommon {2 public void deleteCookies() {3 getDriver().manage().deleteAllCookies();4 }5}6public class DeleteCookies extends TestRunnerCommon {7 public void deleteCookies() {8 getDriver().manage().deleteCookieNamed("cookieName");9 }10}11public class DeleteCookies extends TestRunnerCommon {12 public void deleteCookies() {13 getDriver().manage().deleteCookieNamed("cookieName");14 }15}16public class DeleteCookies extends TestRunnerCommon {17 public void deleteCookies() {18 getDriver().manage().deleteCookieNamed("cookieName");19 }20}21public class DeleteCookies extends TestRunnerCommon {22 public void deleteCookies() {23 getDriver().manage().deleteCookieNamed("cookieName");24 }25}26public class DeleteCookies extends TestRunnerCommon {27 public void deleteCookies() {28 getDriver().manage().deleteCookieNamed("cookieName");29 }30}31public class DeleteCookies extends TestRunnerCommon {32 public void deleteCookies() {33 getDriver().manage().deleteCookieNamed("cookieName");34 }35}36public class DeleteCookies extends TestRunnerCommon {37 public void deleteCookies() {38 getDriver().manage().deleteCookieNamed("cookieName");39 }40}41public class DeleteCookies extends TestRunnerCommon {42 public void deleteCookies() {43 getDriver().manage().deleteCookieNamed("cookieName");44 }45}
deleteCookies
Using AI Code Generation
1package com.qmetry.qaf.automation.step.client;2import org.openqa.selenium.Cookie;3import org.testng.annotations.Test;4import com.qmetry.qaf.automation.step.QAFTestStepProvider;5import com.qmetry.qaf.automation.step.WsStep;6import com.qmetry.qaf.automation.step.client.TestRunner;7import com.qmetry.qaf.automation.testng.dataprovider.QAFDataProvider;8public class TestRunner extends TestRunnerCommon {9@QAFDataProvider(dataFile = "resources/data.xlsx", sheetName = "Sheet1")10public void test(String name, String value, String domain, String path) {11 Cookie cookie = new Cookie(name, value, domain, path);12 getDriver().manage().addCookie(cookie);13 System.out.println("Cookie Added: " + cookie);14 System.out.println("Cookies: " + getDriver().manage().getCookies());15 deleteCookies();16 System.out.println("Cookies: " + getDriver().manage().getCookies());17}18}19package com.qmetry.qaf.automation.step.client;20import org.openqa.selenium.Cookie;21import org.testng.annotations.Test;22import com.qmetry.qaf.automation.step.QAFTestStepProvider;23import com.qmetry.qaf.automation.step.WsStep;24import com.qmetry.qaf.automation.step.client.TestRunner;25import com.qmetry.qaf.automation.testng.dataprovider.QAFDataProvider;26public class TestRunner extends TestRunnerCommon {27@QAFDataProvider(dataFile = "resources/data.xlsx", sheetName = "Sheet1")28public void test(String name, String value, String domain, String path) {29 Cookie cookie = new Cookie(name, value, domain, path);30 getDriver().manage().addCookie(cookie);31 System.out.println("Cookie Added: " + cookie);32 System.out.println("Cookies: " + getDriver().manage().getCookies());33 deleteAllCookies();34 System.out.println("Cookies: " + getDriver().manage().getCookies());35}36}
deleteCookies
Using AI Code Generation
1package com.qa.test;2import org.fluentlenium.adapter.FluentTest;3import org.junit.Test;4import org.openqa.selenium.WebDriver;5import org.openqa.selenium.chrome.ChromeDriver;6import static org.assertj.core.api.Assertions.assertThat;7public class DeleteCookies extends FluentTest {8 public void deleteCookies() {9 assertThat(title()).contains("Google");10 deleteCookies();
deleteCookies
Using AI Code Generation
1package org.fluentlenium.adapter;2import org.fluentlenium.adapter.TestRunnerCommon;3import org.fluentlenium.adapter.FluentAdapter;4import org.fluentlenium.core.annotation.Page;5import org.fluentlenium.core.Fluent;6import org.openqa.selenium.WebDriver;7import org.openqa.selenium.chrome.ChromeDriver;8import org.openqa.selenium.chrome.ChromeOptions;9import org.openqa.selenium.remote.DesiredCapabilities;10import org.openqa.selenium.remote.RemoteWebDriver;11import org.openqa.selenium.support.ui.WebDriverWait;12import org.testng.annotations.AfterMethod;13import org.testng.annotations.BeforeMethod;14import org.testng.annotations.Test;15import java.net.MalformedURLException;16import java.net.URL;17import java.util.concurrent.TimeUnit;18import static org.testng.AssertJUnit.assertTrue;19public class TestRunnerCommonTest extends FluentAdapter {20 private WebDriver driver;21 private WebDriverWait wait;22 private String baseUrl;23 private TestRunnerCommon testRunnerCommon;24 private SimplePage simplePage;25 public void setUp() throws MalformedURLException {26 System.setProperty("webdriver.chrome.driver", "C:\\Users\\sudhakar\\Downloads\\chromedriver_win32\\chromedriver.exe");27 ChromeOptions options = new ChromeOptions();28 options.addArguments("disable-infobars");29 options.addArguments("--start-maximized");30 options.addArguments("--disable-extensions");31 DesiredCapabilities capabilities = DesiredCapabilities.chrome();32 capabilities.setCapability(ChromeOptions.CAPABILITY, options);33 driver = new ChromeDriver(capabilities);34 wait = new WebDriverWait(driver, 30);35 driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);36 testRunnerCommon = new TestRunnerCommon();37 testRunnerCommon.setDriver(driver);38 testRunnerCommon.setWait(wait);39 testRunnerCommon.setBaseUrl(baseUrl);40 testRunnerCommon.initFluent(driver);41 testRunnerCommon.initTest();42 }43 public void testDeleteCookies() {44 goTo(simplePage);45 assertTrue("Cookie should be present", getDriver().manage().getCookieNamed("cookie1") != null);46 testRunnerCommon.deleteCookies();47 assertTrue("Cookie should not be present", getDriver().manage().getCookieNamed("cookie1") == null);48 }49 public void tearDown() {50 getDriver().quit();51 }52}
deleteCookies
Using AI Code Generation
1package com.seleniumtests;2import org.fluentlenium.adapter.FluentTest;3import org.junit.Test;4import org.openqa.selenium.WebDriver;5import org.openqa.selenium.chrome.ChromeDriver;6public class TestClass extends FluentTest {7 public WebDriver newWebDriver() {8 return new ChromeDriver();9 }10 public void test() {11 deleteCookies();12 }13}
deleteCookies
Using AI Code Generation
1public class DeleteCookiesTest extends FluentTest {2 public void deleteCookiesTest() {3 deleteCookies();4 assertThat(find("input[name='q']")).isNotPresent();5 }6}7public class DeleteAllCookiesTest extends FluentTest {8 public void deleteAllCookiesTest() {9 deleteAllCookies();10 assertThat(find("input[name='q']")).isNotPresent();11 }12}13public class GetCookieNamedTest extends FluentTest {14 public void getCookieNamedTest() {15 Cookie cookie = getCookieNamed("NID");16 assertThat(cookie).isNotNull();17 assertThat(cookie.getName()).isEqualTo("NID");18 assertThat(cookie.getValue()).isNotEmpty();19 }20}21public class GetDriverTest extends FluentTest {22 public void getDriverTest() {23 assertThat(getDriver()).isNotNull();24 }25}26public class GetDriverClassTest extends FluentTest {27 public void getDriverClassTest() {28 assertThat(getDriverClass()).isNotNull();29 }30}31public class GetDriverNameTest extends FluentTest {32 public void getDriverNameTest() {33 assertThat(getDriverName()).isNotNull();34 }35}36public class GetDriverVersionTest extends FluentTest {37 public void getDriverVersionTest() {
deleteCookies
Using AI Code Generation
1package com.automationtest;2import org.fluentlenium.adapter.junit.FluentTest;3import org.junit.Test;4import org.openqa.selenium.WebDriver;5import org.openqa.selenium.firefox.FirefoxDriver;6public class TestRunnerCommon extends FluentTest {7 public WebDriver getDefaultDriver() {8 return new FirefoxDriver();9 }10 public void test() {11 deleteCookies();12 }13}14package com.automationtest;15import org.fluentlenium.adapter.junit.FluentTest;16import org.junit.Test;17import org.openqa.selenium.WebDriver;18import org.openqa.selenium.firefox.FirefoxDriver;19public class TestRunnerCommon extends FluentTest {20 public WebDriver getDefaultDriver() {21 return new FirefoxDriver();22 }23 public void test() {24 takeScreenshot();25 }26}27package com.automationtest;28import org.fluentlenium.adapter.junit.FluentTest;29import org.junit.Test;30import org.openqa.selenium.WebDriver;31import org.openqa.selenium.firefox.FirefoxDriver;32public class TestRunnerCommon extends FluentTest {33 public WebDriver getDefaultDriver() {34 return new FirefoxDriver();35 }36 public void test() {37 takeScreenshot("/home/username/Desktop/screenshot.png");38 }39}40package com.automationtest;41import org.fluentlenium.adapter.junit.FluentTest;42import org.junit.Test;43import org.openqa.selenium.WebDriver;44import org.openqa.selenium.firefox.FirefoxDriver;45public class TestRunnerCommon extends FluentTest {46 public WebDriver getDefaultDriver() {47 return new FirefoxDriver();48 }49 public void test() {
deleteCookies
Using AI Code Generation
1package com.example;2import org.fluentlenium.adapter.junit.FluentTest;3import org.junit.Test;4public class DeleteCookiesTest extends FluentTest {5 public void deleteCookiesTest() {6 deleteCookies();7 }8}9package com.example;10import org.fluentlenium.adapter.junit.FluentTest;11import org.junit.Test;12public class DeleteAllCookiesTest extends FluentTest {13 public void deleteAllCookiesTest() {14 deleteAllCookies();15 }16}17package com.example;18import org.fluentlenium.adapter.junit.FluentTest;19import org.junit.Test;20public class ScreenshotTest extends FluentTest {21 public void screenshotTest() {22 screenshot("screenshot.png");23 }24}25package com.example;26import org.fluentlenium.adapter.junit.FluentTest;27import org.junit.Test;28public class TakeScreenShotTest extends FluentTest {29 public void takeScreenShotTest() {30 takeScreenShot();31 }32}33package com.example;34import org.fluentlenium.adapter.junit.FluentTest;35import org.junit.Test;36public class SavePageSourceTest extends FluentTest {37 public void savePageSourceTest() {38 savePageSource("source.html");39 }40}41package com.example;42import org.fluentlenium.adapter.junit.FluentTest;43import org.junit.Test;44public class GetPageSourceTest extends FluentTest {
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!