How to select text using Katalon

Suppose in a web page/ or in any file i need to select some text. How can i do using Katalon?

Could you please describe more on what you are trying to do?

I have opened a file(pdf ) in browser. Now i want select text in that pdf file.

Select text: There are 5 pages in pdf file. In first page there are 10 lines. I want to Select text 3rd line(or more than 1 line).

You can use PDFBox, here is the link to download
File file = new File(“C:/Documents/sample.pdf”);
PDDocument document = PDDocument.load(file);
PDFTextStripper pdfStripper = new PDFTextStripper();
String text = pdfStripper.getText(document);

If we have to do same thing in Html page?

Probably this may help.