You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The doc at https://symfony.com/doc/current/components/dom_crawler.html#adding-the-content shows passing content inside the Crawler constructor and then calling add* methods on it. That's not a supported usage of the component.
You cannot mix multiple sources of content in the same Crawler instance. So a supported usage is to use either of the ways to add content, but not multiple ones like in this snippet.