o
    US`c]  ã                   @   s&   d dl mZ dZG dd„ dejƒZdS )é    )ÚserviceZWebKitWebDriverc                       s>   e Zd ZdZeddfdef‡ fdd„Zdd„ Zd	d
„ Z‡  Z	S )ÚServicezN
    Object that manages the starting and stopping of the WebKitGTKDriver
    r   NÚexecutable_pathc                    s&   |rt |dƒnd}tƒ  |||¡ dS )zö
        Creates a new instance of the Service

        :Args:
         - executable_path : Path to the WebKitGTKDriver
         - port : Port the service is running on
         - log_path : Path for the WebKitGTKDriver service to log to
        ÚwbN)ÚopenÚsuperÚ__init__)Úselfr   ÚportÚlog_pathZlog_file©Ú	__class__© úO/usr/local/lib/python3.10/dist-packages/selenium/webdriver/webkitgtk/service.pyr      s   
zService.__init__c                 C   s   dd| j  gS )Nz-pz%d)r
   ©r	   r   r   r   Úcommand_line_args*   s   zService.command_line_argsc                 C   s   d S )Nr   r   r   r   r   Úsend_remote_shutdown_command-   s   z$Service.send_remote_shutdown_command)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚDEFAULT_EXECUTABLE_PATHÚstrr   r   r   Ú__classcell__r   r   r   r   r      s    ÿr   N)Zselenium.webdriver.commonr   r   r   r   r   r   r   Ú<module>   s   