How do I confirm a pdf loaded correctly with Watir webdriver testing
Posted
by
Mike Rose
on Stack Overflow
See other posts from Stack Overflow
or by Mike Rose
Published on 2014-06-03T15:23:33Z
Indexed on
2014/06/03
15:24 UTC
Read the original article
Hit count: 246
This is a general type question that I dont know what code I could post that would help get an answer. So I apologize in advance, but if some piece of code would help, please let me know and Ill add it.
The question is, how do I confirm that a pdf loaded in a web browser when using Ruby/Cucumber/Watir Webdriver? My test clicks on a random link that should load a pdf in a new browser window, so I cant check the url because it will vary with each test.
Any ideas how I can make sure the correct pdf loads after clicking the link that should load it?
© Stack Overflow or respective owner