13 events
when toggle format what by license comment
Feb 19, 2019 at 10:00 vote accept Sinu Reddy
Feb 19, 2019 at 2:15 answer added Sinu Reddy timeline score: 1
Feb 18, 2019 at 7:01 comment added NarendraR Why xpath instead of id ?
S Feb 18, 2019 at 6:34 history suggested Bence Kaulics CC BY-SA 4.0
fomated code
Feb 17, 2019 at 17:03 answer added JJ Hill timeline score: 0
Feb 17, 2019 at 16:26 review Suggested edits
S Feb 18, 2019 at 6:34
Feb 17, 2019 at 12:29 answer added Sameem timeline score: 0
Feb 17, 2019 at 6:42 comment added Sinu Reddy When i use id getting below error. org.openqa.selenium.WebDriverException: unknown error: Element <button id="pagination..." class="btn pagination2__next" data-selenium="pagination-next-btn">Next</button> is not clickable at point (1250, 689). Other element would receive the click: <div class="BackToTop--btn">...</div> My code : driver.findElement(By.id("paginationNext"));
Feb 17, 2019 at 5:26 comment added Sinu Reddy I tried with Id also same issue then only trying with Xpath, actually the above one when i clicked it should go to next page,but now it's not clicking and no error Tried the below method as well. WebElement element=driver.findElement(By.xpath(".//*[text()='Next']")); JavascriptExecutor js1 = (JavascriptExecutor) driver; js1.executeScript("arguments[0].scrollIntoView()", element); element.click();
Feb 17, 2019 at 1:13 comment added Daniel Might I ask why you use an xpath when you can easily use the id attribute? Also, it would help to know what kind of error you get when you execute it.
Feb 17, 2019 at 1:05 review First posts
Feb 18, 2019 at 6:34
Feb 17, 2019 at 1:04 comment added Sinu Reddy My HTML page as below <button id="paginationNext" class="btn pagination2__next" data-selenium="pagination-next-btn">Next</button>
Feb 17, 2019 at 1:03 history asked Sinu Reddy CC BY-SA 4.0