WebDriver\Session::activeElement PHP 메소드

activeElement() 공개 메소드

Get active element (i.e., has focus): /session/:sessionId/element/active (POST) - $session->activeElement()
public activeElement ( ) : mixed
리턴 mixed
    public function activeElement()
    {
        $result = $this->curl('POST', '/element/active');
        return $this->webDriverElement($result['value']);
    }