Larval framework upated to v5.6.33
Updated laravel frameowrk version to as suggested for security patch update which was released in v5.6.30
This commit is contained in:
24
vendor/laravel/dusk/src/Browser.php
vendored
24
vendor/laravel/dusk/src/Browser.php
vendored
@@ -268,6 +268,23 @@ class Browser
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Switch to a specified frame in the browser.
|
||||
*
|
||||
* @param string $selector
|
||||
* @return $this
|
||||
*/
|
||||
public function withinFrame($selector, Closure $callback)
|
||||
{
|
||||
$this->driver->switchTo()->frame($this->resolver->findOrFail($selector));
|
||||
|
||||
$callback($this);
|
||||
|
||||
$this->driver->switchTo()->defaultContent();
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute a Closure with a scoped browser instance.
|
||||
*
|
||||
@@ -306,6 +323,13 @@ class Browser
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the current component state.
|
||||
*
|
||||
* @param \Laravel\Dusk\Component $component
|
||||
* @param \Laravel\Dusk\ElementResolver $parentResolver
|
||||
* @return void
|
||||
*/
|
||||
public function onComponent($component, $parentResolver)
|
||||
{
|
||||
$this->component = $component;
|
||||
|
Reference in New Issue
Block a user