Steps for repro: Execute the attached test (Web Test). Step 12 hangs infinitely without prompting an error message. Expected behavior: To fail after certain period of time. If you enable step 11, which is wait for exist for element in the failing step, the test passes. Also if you change the find logic to tagname == span and TextContent == Style, it starts working.