Skip to content
Sign upLog in

Making a robot

Profile icon
PYer

I am looking for some way to have a bot go to certain sites, and input text. I think one way would be to access the id's and classes and set a value to them. I don't really know. I want it to be so for example, I could create a bot with a repl.it account, that comments, and creates repls. I am kind of imagining something like this.

import siterobot robot = siterobot.Robot() robot.site('https://repl.it/') robot.enter('ID of username element here', 'fullern000') robot.enter('ID of password element here', 'qwertyuiop1') robot.enter('ID of submit element here', True)

Now the bot has logged into my repl.it account.

The password is fake. Don't even try it.

You are viewing a single comment. View All
Profile icon
PYer

@mat1
Thanks! I will try it