public function MediaBrowserContext::open in Lightning Media 8.3
Same name and namespace in other branches
- 8 tests/contexts/MediaBrowserContext.behat.inc \Acquia\LightningExtension\Context\MediaBrowserContext::open()
- 8.2 tests/contexts/MediaBrowserContext.behat.inc \Acquia\LightningExtension\Context\MediaBrowserContext::open()
Opens the media browser, obviously.
@When I open the media browser
Parameters
string $button: (optional) The embed button ID.
File
- tests/
contexts/ MediaBrowserContext.behat.inc, line 64
Class
- MediaBrowserContext
- Contains step definitions for interacting with Lightning's media browser.
Namespace
Acquia\LightningExtension\ContextCode
public function open($button = 'media_browser') {
$this->isJS ? $this
->openJs($button) : $this
->openNoJs();
}