How do i export a threejs scene as gltf using the chrome console

how do i export a threejs scene as gltf using the chrome console.