B
     ¸h,  ã               @   s"   d dl mZ G dd„ dejƒZdS )é    )Úservicec               @   s*   e Zd ZdZd
dd„Zdd„ Zdd	„ ZdS )ÚServicezN
    Object that manages the starting and stopping of the WebKitGTKDriver
    r   Nc             C   s4   |dk	r|dkrt |dƒnd}tj | |||¡ 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
        NÚ Úwb)Úopenr   r   Ú__init__)ÚselfÚexecutable_pathÚportÚlog_pathÚlog_file© r   úaC:\Users\sanjo\AppData\Local\Qlobot\Launcher\ext_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)r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r      s   
r   N)Zselenium.webdriver.commonr   r   r   r   r   r   Ú<module>   s   