How to Fix Robot Failures Caused by Cookie Pop-ups
Have you ever encountered a situation where your Browse AI robot fails to close a cookie notice or popup, causing it to skip the rest of the steps in your task? This can be frustrating, but we got you! Let's explore why this happens and how you can resolve it.
Why Robot Failures Occur
Browse AI robots are designed to mimic human behavior on websites. When you record a task, the robot learns to perform the same actions on similar pages. If you close a cookie notice or popup during recording, the robot will try to do the same when it runs the task.
However, these notices or popups might not always appear when the robot executes the task. This can happen for several reasons:
- A/B Testing: The website might be A/B testing different modals or popups, and the robot might encounter a variation that wasn't present during recording.
- Proxy Location: The robot may be using a proxy server in a different location where the notice or popup isn't displayed.
- Website Changes: The website might have updated its design or functionality, causing the notice or popup to behave differently.
Solutions
Here are a few solutions to address this issue:
I. Avoid unnecessary clicks
If the cookie notice doesn't obstruct the data you want to capture, try leaving it open during recording. This prevents the robot from relying on a click action that might not always be necessary.
II. Utilising the session cookies
If the website doesn't have strong bot detection, you can enable the "This site needs logging in" option when creating the robot:
This allows the robot to use your existing login session, which often prevents cookie notices and popups from appearing.
III. Contact Support
If the notice or popup is blocking the screen and causing the robot to fail, you can always reach out to our support team for assistance. We can manually adjust your robot's settings to remove the "click" step associated with closing the notice or popup.