selenium vs pyautogui? which one is better for automating tasks like log in, posting etc?

Lipstick Spoiler

Supreme Member
Jr. VIP
Joined
Aug 10, 2022
Messages
1,422
Reaction score
920
hey guys, could you please tell me which one is better for web automation that will not get you banned as some sites know that you are using selenium and they restrict you right away? pyautogui also does the same work. should I use that instead?
 
Pyautogui has nothing to do with selenium, it's not an alternative.
Both are very distinct.

For example, you can automate chrome with pyautogui, but you won't be able to programmatically parse the HTML code.
 
What about Bas?
yes, I don't know how to use it yet. LEARNING THAT TOO. IT'S JUST I WAS WATCHING SOME TUTORIALS OF SELENIUM AND PYAUTOGUI AND FOUND THEM SOMEWHAT SIMILAR IN THE SENSE THAT THEY COULD AUTOMATE SOME CLICKING STUFF. bUT I DID SOME RESEARCH NOW, AND FOUND THAT SELENIUM IS A BEAST IN ITSELF AND CAN DO A LOT OF STUFF APART FROM JUST LOGGING AND CLICKING.
Pyautogui has nothing to do with selenium, it's not an alternative.
Both are very distinct.

For example, you can automate chrome with pyautogui, but you won't be able to programmatically parse the HTML code.
yes, bro. Just saw that selenium can be widely used in web scraping too.
I don't know what other cool stuff can it do, but it would be great if you could enlighten some noobs like me about its amazing functions that can be used in Internet Marketing.
I started learning to program a month ago only and found this great module. It would be so nice if you could tell us some tasks that can be automated in IM using this.
thanks
 
Selenium is good but I've always had to write my own anti detect features. Have a look at puppeteer there are a number of useful stealth extensions.
 
I've used selenium in the past but now I've moved over to puppeteer and liking it a lot. Still much to learn but learning something new everyday. It's not that hard to code something functional with any of those in just a day or two for someone completely new. In a week of learning I was able to make a facebook account warm up project, auto poster, auto sending messages, scraper and a few smaller things. I've found all the information I needed on youtube/stackoverflow, you'll usually find more information/tutorials about selenium. Pick one and go at it.
 
Last edited:
Selenium is good but I've always had to write my own anti detect features. Have a look at puppeteer there are a number of useful stealth extensions.
For anti detect features, what would you recommend? Which module??
 
I've used selenium in the past but now I've moved over to puppeteer and liking it a lot. Still much to learn but learning something new everyday. It's not that hard to code something functional with any of those in just a day or two for someone completely new. In a week of learning I was able to make a facebook account warm up project, auto poster, auto sending messages, scraper and a few smaller things. I've found all the information I needed on youtube/stackoverflow, you'll usually find more information/tutorials about selenium. Pick one and go at it.
Does it have proxy support brother?? Also does it require any other programming knowledge apart from python??
 
Selenium is kind of dead for stealthy automation.

For average sites I use Puppeteer with puppeteer stealth, fakebrowser was really good at some point but it hasn't been updated in a while, playwright with firefox, if the website have more advanced protection I code custom tools, using OCR and real mouse movements on a regular browser/phone.

There is also a new lib called crawlee but I haven't tested it yet.
 
I've used selenium in the past but now I've moved over to puppeteer and liking it a lot. Still much to learn but learning something new everyday. It's not that hard to code something functional with any of those in just a day or two for someone completely new. In a week of learning I was able to make a facebook account warm up project, auto poster, auto sending messages, scraper and a few smaller things. I've found all the information I needed on youtube/stackoverflow, you'll usually find more information/tutorials about selenium. Pick one and go at it.
What do you use to manage fingerprints with puppeteer?apify libs? In my experience it was easily detected by Datadome and the likes even with puppeteer-stealth
 
What do you use to manage fingerprints with puppeteer?apify libs? In my experience it was easily detected by Datadome and the likes even with puppeteer-stealth

I haven't got to that yet. I took lucky.sparks advice that he posted in his journey and now I'm using chrome profiles. Along with that I've been using puppeteer-stealth for some stuff. For now it seems to work well on my FB profiles but I will definitely be looking into that when I start running into issues. I'm pretty new to puppeteer so haven't had time to experiment much yet.
 
I haven't got to that yet. I took lucky.sparks advice that he posted in his journey and now I'm using chrome profiles. Along with that I've been using puppeteer-stealth. For now it seems to work well on my FB profiles but I will definitely be looking into that when I start running into issues. I'm pretty new to puppeteer so haven't had time to experiment much yet.
You use fb profiles for what purpose brother?? Posting reels? Or providing smm services?
 
Both work very very differently. To be honest, I would say try pyautogui if you really can get it working for your cause. It is pretty much impossible to detect if you can make it work.
 
I haven't got to that yet. I took lucky.sparks advice that he posted in his journey and now I'm using chrome profiles. Along with that I've been using puppeteer-stealth for some stuff. For now it seems to work well on my FB profiles but I will definitely be looking into that when I start running into issues. I'm pretty new to puppeteer so haven't had time to experiment much yet.
if your profiles matters to you, you should probably look at it now, they might get shadownbanned/rate limited at some point
 
if your profiles matters to you, you should probably look at it now, they might get shadownbanned/rate limited at some point

At the moment I am running 20 accounts and increasing everyday with no problems. These are just churn and burn accounts that I don't care about as long as they can last 2 or 3 days max. Once my accounts start getting disabled within a day or two then I will look into this.

Where should I start?
 
At the moment I am running 20 accounts and increasing everyday with no problems. These are just churn and burn accounts that I don't care about as long as they can last 2 or 3 days max. Once my accounts start getting disabled within a day or two then I will look into this.

Where should I start?
easiest way would to probably to use Fakebrowser fingerprint extractor,basically you put it on a page with traffic and you can copy the fingerprint of your visitors and use them in your bots

or use apify fingerprint generator, some people think it's a bad idea to use generated fingerprints, but the algorithms are getting better

but yeah if it's just churn and burn accounts maybe it's not really really worth it
 
Back
Top