Sinu Reddy
  • Member for 2 years, 11 months
  • Last seen more than a month ago
Unable to click on Xpath element even the correct path
Accepted answer
1 votes

The below code is solved my problem..:) String pageCount = driver.findElement(By.xpath("//span[@id='paginationPageCount']")).getText(); String[] count = pageCount.split(" "); int s ...

View answer
Write Selenium Result output into Excel Sheet
Accepted answer
0 votes

Thanks it was working fine.. I also found one more solutions similar to this. for (String available : list1) { System.out.println("Available hotels: -------"+available); ...

View answer
Selenium WebDriver: Setting date on date picker
0 votes

You can try this String dateval = "28/03/2019"; selectDatebyJs(driver, date1, dateval); } public void selectDatebyJs(WebDriver driver,WebElement element, String dateval) throws ...

View answer