Extract tags from pdf

Extract Text from PDF file using Selenium Webdriver in Scala

Reading Time: < 1 minute If we want to verify PDF content during the testing  or you want to test the PDF file in scala then you have to follow these code because selenium webdriver does not provide the direct method to extract the text from PDF. First of all we have to add dependency for pdfbox in build.sbt libraryDependencies ++=  Seq( jdbc, ws, cache, “org.apache.pdfbox” % “pdfbox” % “1.8.2” Continue Reading