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.
No comments:
Post a Comment