Ignoring a test for HtmlUnit (window switching is not implemented)
Code linting (removed unused imports, local variables, fields, debug
messages). No functional changes.