87. html CSS Selector for locating the whole web page






html CSS selector is used for locating the whole 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 html CSS selector into the 'CSS' text box as shown below and click on 'Eval' button:



6. Observe that the whole web page is high lighted with blue dots as shown below:


This is how the html CSS selector locates the whole web page.


Please comment below to feedback or ask questions.

body CSS Selectors for locating the body of the web page will be explained in the next post.





No comments:

Post a Comment

Followers

Labels