public pressTheNthButton ( $index, $button ) |
public function pressTheNthButton($index, $button)
{
$element = ['button', $this->getSession()->getSelectorsHandler()->xpathLiteral($button)];
$node = $this->findElement('named', $element, $index);
$node->click();
}