How we can select the last checkbox based on the position. Selenium Notes,Examples, Videos by.www.laxmiroy.blogspot.com/
We can use last() function to indentify the last object among all similar objects.
Below code will check or uncheck the last checkbox.
selenium.click("xpath=(//input[@type='checkbox'])[last()]");
No comments:
Post a Comment