from playwright.sync_api import sync_playwright
with sync_playwright() as p:
    b=p.chromium.launch(); pg=b.new_page(viewport={'width':1200,'height':2000},ignore_https_errors=True)
    pg.goto('https://www.komipo.co.kr/esg/content/418/main.do?mnCd=ESG03030105',wait_until='load',timeout=30000)
    pg.wait_for_timeout(1500)
    (pg.query_selector('#content') or pg).screenshot(path='_nshots_tab/인권추진조직_418.png')
    print('ok'); b.close()
