protected function get_internal_field_id() {

        if (!$this->running_javascript()) {
            throw new coding_exception('You can only get an internal ID using the selenium driver.');
        }

        return $this->session->getDriver()->getWebDriverSession()->element('xpath', $this->field->getXPath())->getID();
    }
protected function get_internal_field_id() {

        if (!$this->running_javascript()) {
            throw new coding_exception('You can only get an internal ID using the selenium driver.');
        }

        return $this->session->getDriver()->getWebDriverSession()->element('xpath', $this->field->getXPath())->getID();
    }
protected function get_internal_field_id ( ) { if ( ! $ this -> running_javascript ( ) ) { throw new coding_exception ( 'You can only get an internal ID using the selenium driver.' ) ; } return $ this -> session -> getDriver ( ) -> getWebDriverSession ( ) -> element ( 'xpath' , $ this -> field -> getXPath ( ) ) -> getID ( ) ; }
Gets the field internal id used by selenium wire protocol.

Only available when running_javascript().

@throws coding_exception
@return int
Gets the field internal id used by selenium wire protocol .