You are here

private function EntityBrowserContext::switchNoJs in Lightning Media 8.3

Switches to an entity browser without using JavaScript.

Parameters

string $id: The entity browser ID.

1 call to EntityBrowserContext::switchNoJs()
EntityBrowserContext::selectItems in tests/contexts/EntityBrowserContext.behat.inc
Selects several items from an entity browser.

File

tests/contexts/EntityBrowserContext.behat.inc, line 313

Class

EntityBrowserContext
Contains step definitions for interacting with entity browser instances.

Namespace

Acquia\LightningExtension\Context

Code

private function switchNoJs($id) {
  $settings = $this
    ->getEntityBrowserSettings($id);
  Assert::notEmpty($settings['src']);
  $this
    ->visitPath($settings['src']);
}