Do you really think someone can help you if you don't provide the website where the pop-up occurs or at least some code-snippet from the html from the website? We can't read minds and we don't have a crystal ball.
tvGZdgfS.png
Я беру почту, сохраняю куки
BOgl6lfx.png
Затем когда нужно загружаю куки в новой функции и проверяю через xpath, всегда выдает ошибку, но если сохрять код страницы а потом через эту переменную делать, то все норм