98. Practice CSS Path







As you have got enough knowledge to understand the CSS Path and are in a position to start practicing different kinds of  CSS Path statements. So follow the below steps to practice CSS Path:

1. Open  https://www.simple-talk.com/dotnet/.net-framework/xpath,-css,-dom-and-selenium-the-rosetta-stone/
2. Download the Locators_table.pdf document as shown below:


3. Read the legend in the downloaded pdf document as shown below and observe that the Author of the document has mentioned the x symbol besides the CSS Path statements that are not supported by Selenium:


4. Now practice all the CSS Path statements that are specified as supported in the pdf document that is downloaded in the step 2. You can also keep this document as a reference while writing the Selenium Automation code.



Please comment below to feedback or ask questions.

Easy and Regular way of finding CSS Path Statements for Elements  will be explained in the next post.



Followers

Labels