function getEventProxy(target) {
  if (!target) {
    return target;
  }
  const unsupportedClientMethods = [
    "removeListener",
    "emit",
    "removeAllListeners",
    "setMaxListeners",
    "off",
  ];
  const handler = {
    get: (target, name) => {
      if (unsupportedClientMethods.includes(name)) {
        throw new Error(`Unsupported action ${name} on client`);
      }
      return target[name];
    },
  };
  return new Proxy(target, handler);
}
Gives CRI client object (a wrapper around Chrome DevTools Protocol).
Refer https://github.com/cyrus-and/chrome-remote-interface
Please refer [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) for
the complete API.

@returns {Object}