1

I'm trying to stream print preview which is displayed in print dialog.

print preview

Is their any way to stream print preview generated without saving it,so that i can directly parse/use that text in my code using selenium

Harshit Gupta
  • 23
  • 1
  • 5
  • Do you want to read the content from Print Preview? If yes, then what data you want to read? you can check [here](https://stackoverflow.com/questions/56562264/handle-print-preview-window-using-selenium-in-chrome-latest-version/56563890#56563890) to click on the cancel button on the print-preview. – supputuri Jun 17 '19 at 13:02
  • Yes,i want to read content from print preview and i want to use that content in my code e.g to validate the content present on that preview – Harshit Gupta Jun 17 '19 at 13:10
  • Have you tried save as pdf and then validate? – supputuri Jun 17 '19 at 13:14
  • Yes,But now i want to use it without saving it. – Harshit Gupta Jun 18 '19 at 03:33
  • so, you want to read the pdf directly from the webpage rather from pdf stored on physical location... let me think. – supputuri Jun 18 '19 at 03:39
  • Hi @supputuri did you find any work around to do it.? – Harshit Gupta Aug 14 '19 at 04:03
  • Sorry, for the delayed replay. Unfortunately, the content is in embed pdf. So it's not possible to read the content from print preview pdf directly. You might have to download it to validate. – supputuri Aug 15 '19 at 03:35

0 Answers0