Is there a scala version of Python Mechanize?

I used mechanize in Python with great success. However, I am trying to learn Scala. I have an IRC bot that I would like to add some features, mainly related to screening web pages from our corporate intranet. To do this, redirect to the main page of the entrance to the corporation, then go to the destination, and then, perhaps, send another login.

Does anyone know something that I can use from Scala to get this functionality?

+4
source share
2 answers

I do not know any Scala efforts of similar functionality. While waiting for answers to the contrary, I advise you to look for Java libraries of similar functionality.

+2
source

The closest Java libraries I can think of are browser drivers. The most famous are Selenium and WebDriver . The latter also offers a mode in progress.

Since the Selenium API is not so good, several projects have sprung up with the DSLish facades: Selenium DSL and Selenium Inspector .

The danger is that they are all focused on testing a web application, so they may miss the features that are present in your case.

+2
source

All Articles