I'm learning java and I want to create a some kind of bot that will be doing operations on webpages, suchas clicking buttons filling textboxes etc. My question which library use to do it? I found out this bot works well:
But I don't know how it's even done, it uses okhttp library, but it just sends http requests, but how author knew which request he need send to server to do stuff? Is it possible to use just reqest to bot any site or it's better to use something like htmlunit?