It would be good to ensure that you're scraping any contents which are publicly available. In terms of web automation being haram? This is down to how you use it. Web automation can involve the creation of malicious bots which could perhaps cause a disruption to a service or perhaps attempt exploitation. In that case, unless you have written consent from the website owners such as you are engaging in a bug bounty.
A bug bounty is a program in which you identify vulnerabilities for a website system and you have been given permission to attempt exploiting a list of vulnerabilities, this is what we call a scope. A scope is a list of rules you must legally abide by and if you make any mistakes you must be sure to report them and to be honest and considerate about any sensitive information you may find. You need to consider that when you are finding the faults in a system with given permission, it is an amanah that you must protect the knowledge of these faults and never to leak these faults to anybody else to prevent third parties from causing harm.
Otherwise, if you have not been given any permission. It is not recommended to be doing this as you're breaking the law and of course this is not something a Muslim should be doing knowingly.
On the other hand, web automation can be used for legitimate reasons such as logging into a personal account of your own and automating some tasks. I believe it is down to your use case, your intentions and whether you have been given permission by the owners of the service to conduct the activity. Alternatively, if the account is yours then this is your personal data.
May Allah continue to grant you knowledge in web based technologies and grant you halal rizq from this line of work. Ameen