• Empleos
  • Sobre nosotros
  • profesionales
    • Inicio
    • Empleos
    • Cursos y retos
  • empresas
    • Inicio
    • Publicar vacante
    • Nuestro proceso
    • Precios
    • Evaluaciones
    • Nómina
    • Blog
    • Comercial
    • Calculadora de salario

0

301
Vistas
How to access elements in PDF rendered on Microsoft Edge?

I am using a selenium script to access elements on PDF rendered on MS Edge. Even though I can see the elements while inspecting the page like

<div id="layout-container" style="opacity: 1; width: 826px; height: 1066px; top: 45px; transform: scale(1) translate(346px, 0px);"><div class="pagerect" id="pagediv_0" style="left: 5px; top: 3px; width: 816px; height: 1056px;"></div></div>

My script is unable to access them using all sorts of ways in selenium, waiting for elements to render etc

I have even tried executing JS snippet to try and access them and the script return no results even though the same script works in Console of dev tools. Like

document.querySelector("#layout-container")

This works in the Console but not when executing.

I am using Selenium with Python so solutions on that will be preferred.

about 3 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 Nuestro proceso Comercial
Legal
Términos y condiciones Política de privacidad
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recomiéndame algunas ofertas
Necesito ayuda