body CSS selector is used for locating the body of the web page.
Lets implement this on Firepath:
1. Open http://book.theautomatedtester.co.uk/ in Firefox Browser
2. Click on 'FireBug' option
3. Select 'Firepath' tab from the displayed 'FireBug' options
4. In 'Firepath' tab, select 'CSS' option from the below shown drop down field:
5. Now type body CSS selector into the 'CSS' text box as shown below and click on 'Eval' button:
6. Observe that the body of the web page is high lighted with blue dots as shown below:
This is how the body CSS selector locates the body of the web page.
Please comment below to feedback or ask questions.
Absolute CSS Selectors path will be explained in the next post.