Skip to content
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
Answered by mat1 [earned 5 cycles]
View Answer
Profile icon
ash15khng

@DrankArizonaIce :thonk: good question lol