Added
- The new
postBrowserNavigateHook()
method in theHttp
step classes, which allows to define callback functions that are triggered after the headless browser navigated to the specified URL. They are called with the chrome-phpPage
object as argument, so you can interact with the page. Also, there is a new classBrowserAction
providing some simple actions (like wait for element, click element,...) as Closures via static methods. You can use it likeHttp::get()->postBrowserNavigateHook(BrowserAction::clickElement('#element'))
.