import asyncio from playwright.async_api import async_playwright async def main(): async with async_playwright() as p: browser = await p.chromium.launch(headless=True, args=["--no-sandbox"]) page = await browser.new_page(viewport={"width": 1280, "height": 720}) # Go to dashboard print("Checking Dashboard...") await page.goto("https://kenqtade-altamira.hf.space/", wait_until="networkidle") await page.screenshot(path="dashboard.png", full_page=True) # Try to open a project to check chat # We need a token to actually see the dashboard content usually # But we can check the shell layout await browser.close() if __name__ == "__main__": asyncio.run(main())