TestProject Forum

Not getting id as an option to select as locater in testproject

not getting id as an option to select as locater in testproject

Hello @kiran.divvi,

ID is a CSS Selector,
To match an element with an ID attribute you need to prepend the ID with the # sign.
So if you have an ID of: Container, the CSS selector will be #Container.
You can see more detailed information in this article: