public function focus($xpath) {
    $element = $this->findElement($xpath, 1);
    $this->browser->trigger($element["page_id"], $element["ids"][0], "focus");
  }
public function focus($xpath) {
    $element = $this->findElement($xpath, 1);
    $this->browser->trigger($element["page_id"], $element["ids"][0], "focus");
  }
public function focus ( $ xpath ) { $ element = $ this -> findElement ( $ xpath , 1 ) ; $ this -> browser -> trigger ( $ element [ "page_id" ] , $ element [ "ids" ] [ 0 ] , "focus" ) ; }
Focus on an element
@param string $xpath
@throws DriverException
Focus on an element