Issue #2558191 by sdstyles: Remove usage of deprecated UrlGeneratorInterface::generateFromPath() in WebTestBase::drupalHead()