Support > Forums > OpenBots Studio > Robotize cookies panel on a web page
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 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi Alberto,
To know about the difference between the selenium and native browser commands - Pease follow this link - https://support.openbots.io/Forums/OpenBots_Studio/native-browser-vs-selenium-commands-v1-7
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"?
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.