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
New BrowserActions to use with the postBrowserNavigateHook() method:
BrowserAction::clickInsideShadowDom()
BrowserAction::moveMouseToElement()
BrowserAction::moveMouseToPosition()
BrowserAction::scrollDown()
BrowserAction::scrollUp()
BrowserAction::typeText()
BrowserAction::waitForReload()
A new method in HeadlessBrowserLoaderHelper to include the HTML content of shadow DOM elements in the returned HTML. Use it like this: $crawler->getLoader()->browser()->includeShadowElementsInHtml().
Changed
The BrowserAction::clickElement() action, now automatically waits for an element matching the selector to be rendered, before performing the click. This means you don't need to put a BrowserAction::waitUntilDocumentContainsElement() before it. It works the same in the new BrowserAction::clickInsideShadowDom() and BrowserAction::moveMouseToElement() actions.
Deprecated
BrowserAction::clickElementAndWaitForReload() and BrowserAction::evaluateAndWaitForReload(). As a replacement, please use BrowserAction::clickElement() or BrowserAction::evaluate() and BrowserAction::waitForReload() separately.