o
    %h(                     @   s@   d dl Z d dlZd dlmZmZ dddZedkre  dS dS )    N)compute_driver_executableget_driver_envreturnc                  C   s^   zt  \} }tj| |gtjdd  t d}t|j W d S  ty.   td Y d S w )N   )env   )	r   
subprocessrunsysargvr   exit
returncodeKeyboardInterrupt)driver_executable
driver_clicompleted_process r   G/var/www/html/myenv/lib/python3.10/site-packages/playwright/__main__.pymain   s   
r   __main__)r   N)r   r
   playwright._impl._driverr   r   r   __name__r   r   r   r   <module>   s   

