The trouble is ui4j is an unsupported library not subject to updates. It is getting progressively less reliable as websites continue to evolve and it gets increasingly left behind.
My application isn't the traditional one of web crawling and scraping to collate large amounts of user data. I only need to get web page content from a few specific websites. But the content has to be rendered just as it would be in a manual browser which I can then programmatically edit and save using the library to simulate browser events such as clicks.
Can anyone recommend a pure Java library that would let me do this reliably for all websites?