Provides generic methods for working with PDF files.
assert
Asserts that text is present in a PDF file
Parameters:
Name | Type | Description |
|
| Relative or absolute path to the PDF file. |
|
| Text to assert. |
|
|
|
|
|
|
|
|
|
assertNot
Asserts that text is not present in a PDF file
Parameters:
Name | Type | Description |
|
| Relative or absolute path to the pdf file. |
|
| Text to assert. |
|
|
|
|
|
|
|
|
|
count
Count the number of times specified text is present in a PDF file.
Parameters:
Name | Type | Description |
|
| Relative or absolute path to the pdf file. |
|
| Text to count. |
|
|
|
|
|
|
Returns:
Number
- Number of times the specified text was found.
Last updated