CSS

CSS

Watir supports div tags. Some web applications use one div for one state of the application, and another for a different state (such as error or success messages). Watir can check the status of the div to allow for tests on pages using CSS as part of the application.

Check out the unit test css_test.rb for usage.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.