I wanted to start learning to scrap data from web and someone told me to use htmlunit

if you go the the website the first page is using java to run the htmlunit and there is no example about how to add the htmlunit jar files to javascript and how to use them. Can someone give an example to add the jar library files to javascript so I could start using them ?

That's not Javascript, that's Java.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.