- satyajeet
- Posts : 4
Join date : 2015-04-20
How to locate dynamic id's created for checkbox in webdriver
Mon Apr 20, 2015 12:41 pm
I have tried this syntax but couldn't work for dynamic id's. Is there any other way
dr.findElement(By.xpath("//div[contains(@id,'anchor')]"));
dr.findElement(By.xpath("//div[contains(@id,'anchor')]"));
- bhavani
- Posts : 4
Join date : 2015-04-20
Re: How to locate dynamic id's created for checkbox in webdriver
Mon Apr 20, 2015 8:03 pm
Once use with startsWith
Permissions in this forum:
You cannot reply to topics in this forum
|
|