Answers for "javascript convert to java"

0

javascript convert to java

public static void Selectdatefromcalendar() throws InterruptedException {
		
		WebElement DateBox=driver.findElement(By.xpath("//input[@formcontrolname='categoryDateRange']"));
		JavascriptExecutor js = (JavascriptExecutor) driver;
		js.executeScript("arguments[0].value='01Sep2021-30Sep2021';", DateBox);
Posted by: Guest on October-18-2021
0

javascript convert to java

public static void Selectdatefromcalendar() throws InterruptedException {
		
		WebElement DateBox=driver.findElement(By.xpath("//input[@formcontrolname='categoryDateRange']"));
		JavascriptExecutor js = (JavascriptExecutor) driver;
		js.executeScript("arguments[0].value='01Sep2021-30Sep2021';", DateBox);
        }
Posted by: Guest on October-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language