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

295
Vistas
Can we get an expandable HTML tree of an element in Mozilla console?

Using Chrome, when I type console.log(document.body) in the console and press enter, I get an HTML tree (or hierarchy) of the current page. For example, on google.com, I get the following

enter image description here

Figure 1. Output of console.log(document.body) on Chrome.

However, when I use Mozilla, I get an object description with all the properties like below.

enter image description here

Figure 2. Output of console.log(document.body) on Mozilla.

When you use console.dir(document.body) on Chrome, it produces an output like Figure.2, but on Mozilla, the output is the same as Figure.1.

Is it possible to get something like Figure.1 on Mozilla?

about 4 years ago · Santiago Gelvez
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