How do I set my own cookie in selenium ?
HISOKA last edited by HISOKA
I want to add or set my own cookie in selenium, how I can do that ?
HISOKA last edited by
is it possible or not ? Any one !!!!
helpingthehelper last edited by helpingthehelper
It is possible, use js if you don’t know how to then search online
Use the execute JS block
Protip: you need to navigate to the website first on which you want to set the cookie on. It should be on the domain part of the cookie. Like if the cookie is for google.con then navigate to google.com then use execute js block