Support > Forums > OpenBots Studio > Robotize cookies panel on a web page

Robotize cookies panel on a web page

Alberto Alberti

  • Reporter
  • Calender Icon May 19,2022 at 4:39 PM

I have to robotize the click on the "accept" button in the cookies panel that opens when you access a web page. The problem is the following: the cookies panel appears only if the bot opens the page while running, not if I open the page manually or with the recorder. How can i do?

This forum has 172 topics, 459 replies, and was last updated 2 hours ago by Poornima Malv

Poornima Malv

  • Participant
  • Calender Icon May 26,2022 at 6:01 PM

Hi Alberto,

To know about the difference between the selenium and native browser commands - Pease follow this link -

Alberto Alberti

  • Participant
  • Calender Icon May 26,2022 at 8:31 AM

I discovered that opening the web page with the "create native browser" does not sample cookies. At this point I want to ask you: what is the difference between "selenium create browser" and "create native browser"?

John Carling

  • Participant
  • Calender Icon May 19,2022 at 4:50 PM

I'm relatively new to this ( and not on their support team ), but I'd think you'd go to the website yourself in chrome/etc, and delete all Cookies from that page, close the browser and re-open. The accept button should then appear for you.

That should allow you to inspect the elements of the page, find the xpath, and update your script to look for and conditionally click the element if/when it exists.

You are not authorized to reply, please click here to login and add your reply to this topic.