from playwright.sync_api import sync_playwright
with sync_playwright() as p:
    browser = p.chromium.launch(headless= False)
    page = browser.new_page()
    page.goto("https://lukan.cz")
    page.screenshot(path="screenshot/lukan.png")
    browser.close()