async function resolveNodeIdToObjectId(session, backendNodeId) {
  try {
    const resolveNodeResponse = await session.sendCommand('DOM.resolveNode', {backendNodeId});
    return resolveNodeResponse.object.objectId;
  } catch (err) {
    return handlePotentialMissingNodeError(err);
  }
}
Resolves a backend node ID (from a trace event, protocol, etc) to the object ID for use with
`Runtime.callFunctionOn`. `undefined` means the node could not be found.

@param {LH.Gatherer.ProtocolSession} session
@param {number} backendNodeId
@return {Promise<string|undefined>}