pdf

Provides generic methods for working with PDF files.

Methods

assert(path, text, message)

Asserts that text is present in a PDF file

Parameters:
Name Type Description
path String Absolute path to the PDF file.
text String Text to assert.
message String= optionalMessage to throw if assertion fails.

assertNot(path, text, message)

Asserts that text is not present in a PDF file

Parameters:
Name Type Description
path String Absolute path to the pdf file.
text String Text to assert.
message String= optionalMessage to throw if assertion fails.