I am working on a program that interacts with users on a social network. I would like a tool that handles most or all of the web communication
My work involves logging into the site, reading posts, sending replies and personal messages.
I initially thought I could handle the necessary interactions with some socket code. My initial single-run cases run successfully (I'm able to log in, post content, respond to inquiries, etc), however trying to run everything together does not work (server does not recognize my requests, various other errors). I do some very poor cookie tracking, I switch sockets from 80 to 443 for SSL communication, I generate my own packets to send to the social network servers and since this is my first attempt at web-interaction, I am pretty far out of my depth. I would prefer an integrated solution that tracks cookies, handles SSL communications, handles general communication problems etc. Essentially I wish I could give an X,Y coordinate of a button (or get the list of buttons from the page, find the one I want, select that one) and text of what to type in a text box and have the mock-browser execute all the necessary packets to make the web-interaction happen.
I would like to know if there is a java mock-browser I can use. Ie, one that I can get a handle for the text boxes on a page, enter in my log in info and execute the log in procedure (the mock-browser would then handle all the cookies, handle the individual packets, etc)
My goal is to have a program I can run on my computer that can interact with users on a social network without requiring any significant input on my part (I don't want the program monopolizing Firefox which prevents me from using Firefox while on my system)
For context, I am sending typical html page calls and also custom packets calls (and parsing the results)
Thank you for your assistance