OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Is it possible to interact with PDF-VIEWER (Selenium or other tools)?

  • Thread starter Thread starter Axxi
  • Start date Start date
A

Axxi

Guest
This issue has been driving me crazy lately, I've been looking all over the internet for days and just found unaswered questions.

Is it possible in any way to interact with the pdf-viewer extension inside a chrome browser? I'm simply looking for a way to press the "print" button marked in red as shown in the first picture, and then the blue button that says "skriv ut" as shown in the second picture. Can this be done in any way with either selenium/javascript or any other tools or am i wasting my time? Thanks in advance!

Here is a test site: https://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf

First picture: enter image description here

Second picture: enter image description here

<p>This issue has been driving me crazy lately, I've been looking all over the internet for days and just found unaswered questions.</p>
<p>Is it possible in any way to interact with the pdf-viewer extension inside a chrome browser? I'm simply looking for a way to press the "print" button marked in red as shown in the first picture, and then the blue button that says "skriv ut" as shown in the second picture. Can this be done in any way with either selenium/javascript or any other tools or am i wasting my time? Thanks in advance!</p>
<p>Here is a test site: <a href="https://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf" rel="nofollow noreferrer">https://unec.edu.az/application/uploads/2014/12/pdf-sample.pdf</a></p>
<p><strong>First picture:</strong>
<a href="https://i.sstatic.net/924KF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/924KF.png" alt="enter image description here" /></a></p>
<p><strong>Second picture:</strong>
<a href="https://i.sstatic.net/4xSVg.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4xSVg.png" alt="enter image description here" /></a></p>
 
Top