How to get specific cookies in Playwright on Python?
import asyncio import re from playwright.async_api import async_playwright, Playwright, expect async def geochange(playwright: Playwright): chromium = playwright.chromium browser = await chromium.launch() context = await browser.new_context() page = await context.new_page() await page.goto(“https://google.com”) await page.locator(“.popup__close”).click() geo_cookies = await page.context.cookies() print(geo_cookies) I have the codeblock, and I need to get specific cookie, but no idea what I need […]