• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

291
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error