I need to check page status by if...else statement.
I use following way:http://screencast.com/t/Lgs2YIJlg2l
If "logout" link is visible I click it to logout user.
But if "logout" is absent I shouldn't do anything, but this test is failed
Unable to locate element. Details: Attempting to find [Html] element
header_0_ctl00_ctl02_logout] AND [tagname
Unable to locate element. Search failed!