Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
How to handle print preview in Firefox using selenium robot framework

I am trying to tap on the 'cancel' option in the print preview page in Firefox. But unfortunately, I am not able to inspect the element on right clicking on the cancel option. I was able to inspect in chrome though and was able to see the shadow root element. The following code worked perfectly for chrome, but not working in firefox.

switch window    NEW

execute javascript    ${cancel_link}.click()

where ${cancel_link} is the shadow root element pointing to the "cancel option"
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Seems like there is no direct answer for the above scenario in selenium. Had to use "rpaframework" library to enter the "tab key" and finally reach the desired option in the print preview page.

https://robocorp.com/docs/libraries/rpa-framework/rpa-desktop/keywords

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!