Forums

selenium app use cpu more than %100 and account is tarpet

I have prepared an application that opens whatsapp web and sends messages from whatsapp as messages come from sqs with selenium. In this process, I take a screenshot of the QR code at the first login and upload it to the cloud. But because of my app, my account keeps going into tarpet mode.

Sometimes I was encountering this problem when pulling data from a web page with a different application.

Is there anyone who knows about the subject and can help?

You are being placed in the tarpit because you are using more than your daily limit of CPU seconds. Browser processes can be very CPU intensive and burn through your CPU time pretty quickly. If you do not want to be in the tarpit, you can increase the number of daily CPU seconds for your account or you can try to work out how you can reduce your dependence on the browser.