Tag Archives: software testing help selenium

auto suggestive dropdown selenium webdriver – Practice question 1

Topic: How to select an option from auto suggestive dropdown in a website. Below code is the solution for the 1st question present in the page. package com; import static org.testng.Assert.fail; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class AutoSuggestionDropdown { static WebDriver driver = null; public static void… Read More »