Can you explain how selenium identifies objects?

by (171 points)
0 votes
I wanted to understand how selenium identifies object?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 votes
Selenium is based on JQuery. When we write code in Java/C# or lanaguage of your choice, it is translated to JSON. Those JSONs are sent to selenium server. Server will parse those queries and convert those into associated JavaScript/JQuery and execute the samee on browser. Same way it identifies Object and returns path of the object.