$script, 'args' => [], ]; $this->getSession()->getDriver()->getWebDriverSession()->execute($options); $this->sortableUpdate($item, $from, $to); } /** * Simulates a drag moving an element after its sibling in the same container. * * @param string $item * The HTML selector for the element to be moved. * @param string $target * The HTML selector for the sibling element. * @param string $from * The HTML selector for the element container. */ protected function sortableAfter($item, $target, $from) { $item = addslashes($item); $target = addslashes($target); $from = addslashes($from); $script = << $script, 'args' => [], ]; $this->getSession()->getDriver()->getWebDriverSession()->execute($options); $this->sortableUpdate($item, $from); } }