Arduino in Java sites

Hello all!!!

This is my first post in this page and I’d like to know if is possible an Arduino code explore a web page made with Java. Something like identify and select the objects in the page, like buttons, pictures etc and activate them to go tho the others sections of the site, like a person navigating it.

(sorry for my bad english)

I think this is possible, but I wonder why you’d want to do this. Accessing the internet world require something like a WiFi module and the code would be limited in comparison to what you could do on a PC.

1 Like

I have a computer with internet connection. I want to, using arduino, let the computer in a web site and after press a button or using a RFID card, the code fill an object in that site (like a input box or something lie that) and go to other section of the site. Actually, I want to use RFID cards as a login method.

How will the code on the Arduino communicate with the browser on the computer? Won’t you need some software running on the computer to handle the messages from the Arduino?

Arduino Leonardo can send commands to the computer emulating a mouse or a keyboard. In this case, I want it acting like a keyboard (preferencially). The arduino device is conected to the computer with an USB cable.

1 Like

Keyboards can’t read the web page. You’d have to assume the user has the page loaded and that the field in question has focus. You’d be “typing” blind from Arduino. I would not recommend this approach for a serious project but for a hobby project where you have control of the environment, it could work.

There’s a real risk though because of the user has notepad open, you’re Arduino would type the username and password on plain text for them to see.