Manage developer tools for Meet Add-ons

Developer tools, such as Chrome DevTools help Google Meet Add-on developers debug and test an add-on in Google Meet.

DevTools API

You can interact with the Meet Add-on DevTools by navigating to the console in Meet and entering devtools.meet.addons. This provides you with methods that you can use.

devtools.meet.addons.suppressHeartbeatTimeout

By default, heart-beating is enforced for an add-on. However, while debugging you may want to suppress heart-beating so that the Meet Add-on doesn't keep timing out. To do this, call the DevTools method suppressHeartbeatTimeout:

devtools.meet.addons.suppressHeartbeatTimeout();

devtools.meet.addons.setHeartbeatTimeout

Every page should instantiate a Meet Add-on session and complete navigation within 10 seconds. If you would like to modify this timeout while testing you can set it here:

devtools.meet.addons.setHeartbeatTimeout(100); // Timeout in milliseconds.

devtools.meet.addons.resetHeartbeatTimeout

To reset any changes made to heart-beating in the same session you can use the reset method:

devtools.meet.addons.resetHeartbeatTimeout();

devtools.meet.addons.setDarkMode

If you want to test how your add-ons look with their dark-mode icon, you can set dark-mode for Meet with this method:

devtools.meet.addons.setDarkMode(true);

To set it back to normal in the same session, set it back to false:

devtools.meet.addons.setDarkMode(false);