How to give input in between the execution?
Code Snippet:
Scanner pCloudyScanner = new Scanner(System.in); System.out.println("Please Enter the searching content"); String search = pCloudyScanner.nextLine(); driver.findElement(By.name("q")).sendKeys(search);