github seleniumbase/SeleniumBase v1.33.5
Add get_pdf_text() and use that in assert_pdf_text()

latest releases: v4.26.3, v4.26.2, v4.26.1...
4 years ago

Add get_pdf_text() and use that in assert_pdf_text()

  • get_pdf_text(pdf, page=None)
    Gets the text from a PDF (The PDF can be either a URL or a path on the local file system. If a Page number is provided, uses that page, otherwise gets everything.)

  • assert_pdf_text(pdf, text, page=None)
    Asserts that certain text appears in a PDF (The PDF can be either a URL or a path on the local file system. If a Page number is provided, only checks that page, otherwise all pages get scanned for the expected text.)

Don't miss a new SeleniumBase release

NewReleases is sending notifications on new releases.