
    li                     h    d Z ddlmZ ddlmZ  ed      Zg dZd Zedk(  r e         e	d       y	y	)
u>   Pilot v1 - 5개 컨셉 A-1 슬라이드 렌더링 (Playwright)    )Path)sync_playwrightz,/home/jay/workspace/output/meta-ads/pilot-v1))ztemplate-concept09.htmlzpilot-v1-concept09-minimal.png)ztemplate-concept17.htmlz pilot-v1-concept17-newsflash.png)ztemplate-concept23.htmlzpilot-v1-concept23-nike.png)ztemplate-concept44.htmlz&pilot-v1-concept44-hangul-monument.png)ztemplate-concept45.htmlz%pilot-v1-concept45-finance-luxury.pngc                     t               5 } | j                  j                         }	 t        D ]  \  }}t        |z  }t        |z  }|j                  ddd      }|j                  d|j                          d       |j                  d       |j                  d       |j                  t        |      d	d
d
ddd       |j                         j                  dz  }t        d| d|dd       |j                           	 |j                          	 d d d        y # |j                          w xY w# 1 sw Y   y xY w)Ni8  )widthheight)viewportzfile://networkidle)
wait_untilz+async () => { await document.fonts.ready; }i  pngr   )xyr   r   )pathtypeclipi   z[OK] z (z.0fz KB))r   chromiumlaunch	TEMPLATESBASEnew_pagegotoresolveevaluatewait_for_timeout
screenshotstrstatst_sizeprintclose)pbrowsertemplate_nameoutput_nametemplate_pathoutput_pathpagesize_kbs           :/home/jay/workspace/output/meta-ads/pilot-v1/render_all.py
render_allr)      s6   		 a**##%	.7 *{ $} 4"[0''441P'Q		GM$9$9$;#<=-	X KL%%d+[) q44H   
 &**,44t;k]"WSM>?

%( MMO/ . MMO/ s#   D4CDD4D11D44D=__main__u3   
[완료] 5개 파일럿 이미지 렌더링 완료N)
__doc__pathlibr   playwright.sync_apir   r   r   r)   __name__r        r(   <module>r1      sB    D  /:;	4 zL	
@A r0   