Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

131
Vistas
Triggering save draft from dev tools console on outlook web app

I am trying to trigger the Save Draft function on outlook.com from the browser dev tools console (Later will be used in an userscript).

The issue is that the button doesn't exist until you click the three dots on top of the "New message" form. With the dots clicked and the extra options opened I can run:

Array.from(document.querySelectorAll('button')).find(el => el.textContent === 'Save draft').click()

On the dev tools console, and it works fine. But with the menu closed it doesn't work because the button doesn't exist.

I tried inspecting the element click event, but it seems to be using React (which I know nothing about) and points to an empty function.

Is there a way I could trigger the save draft function directly without having to click the button?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda