I'd be concerned with synchronization here. Because world.browser.url does not contain any retry logic if this assertion happens too fast the test will be brittle. If it's all the same, moving this statement to after the next statement which contains "world.css_html" should make it better.