Stay organized with collections
Save and categorize content based on your preferences.
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[[["Google Meet add-on developers can utilize Chrome DevTools to debug and test their add-ons effectively."],["The `devtools.meet.addons` API provides methods to control heart-beating timeouts, preventing add-ons from timing out during debugging."],["Developers can manipulate the appearance of their add-ons by enabling or disabling dark mode using the `devtools.meet.addons.setDarkMode` method."],["Methods are available to set custom heart-beat timeouts and reset them to default values for testing purposes."]]],[]]