Ë
    ^ÀjÕ  ã                   óø   — d dl mZ d dlmZ d dlmZmZ d dlmZ d dl	m
Z
 d dlmZ d dlmZ d dlmZ d	d
lmZ d	dlmZ d	dlmZ d	dlmZ d	dlmZ d	dlmZ d	dlmZ d	dlm Z   G d„ deeee
eeeeeeeeee «      Z!y)é    )ÚDict)ÚAUTOMATION_NAME)ÚPLATFORM_NAMEÚAppiumOptions)ÚBundleIdOption)ÚPostrunOption)ÚPrerunOption)ÚSystemHostOption)ÚSystemPortOptioné   )ÚAppPathOption)ÚArgumentsOption)ÚBootstrapRootOption)ÚEnvironmentOption)ÚServerStartupTimeoutOption)ÚShowServerLogsOption)ÚSkipAppKillOption)ÚWebDriverAgentMacUrlOptionc                   ó€  — e Zd Zej                  j
                  deeef   ddfd„«       Zej                  j
                  deeef   ddfd„«       Z	e
j                  j
                  deddfd„«       Zej                  j
                  deddfd„«       Zej                   j
                  deddfd„«       Zedefd	„«       Zy)
ÚMac2OptionsÚvalueÚreturnNc                 óD   — t         j                  j                  | |«       y)aI  
        A mapping containing either 'script' or 'command' key. The value of
        each key must be a valid AppleScript script or command to be
        executed after before Mac2Driver session is started. See
        https://github.com/appium/appium-mac2-driver#applescript-commands-execution
        for more details.
        N)r	   ÚprerunÚfset©Úselfr   s     úP/home/ubuntu/.local/lib/python3.12/site-packages/appium/options/mac/mac2/base.pyr   zMac2Options.prerun6   s   € ô 	×Ñ× Ñ   uÕ-ó    c                 óD   — t         j                  j                  | |«       y)aB  
        A mapping containing either 'script' or 'command' key. The value of
        each key must be a valid AppleScript script or command to be
        executed after Mac2Driver session is stopped. See
        https://github.com/appium/appium-mac2-driver#applescript-commands-execution
        for more details.
        N)r   Úpostrunr   r   s     r   r!   zMac2Options.postrunA   s   € ô 	×Ñ×"Ñ" 4¨Õ/r   c                 óD   — t         j                  j                  | |«       y)z›
        Set the number of the port for the internal server to listen on.
        If not provided then Mac2Driver will use the default port 10100.
        N)r   Úsystem_portr   r   s     r   r#   zMac2Options.system_portL   s   € ô 	×$Ñ$×)Ñ)¨$°Õ6r   c                 óD   — t         j                  j                  | |«       y)ah  
        Set the number of the port for the internal server to listen on.
        If not provided then Mac2Driver will use the default host
        address 127.0.0.1. You could set it to 0.0.0.0 to make the
        server listening on all available network interfaces.
        It is also possible to set the particular interface name, for example en1.
        N)r
   Úsystem_hostr   r   s     r   r%   zMac2Options.system_hostT   s   € ô 	×$Ñ$×)Ñ)¨$°Õ6r   c                 óD   — t         j                  j                  | |«       y)añ  
        Set the bundle identifier of the application to automate, for example
        com.apple.TextEdit. This is an optional capability. If it is not provided
        then the session will be started without an application under test
        (actually, it will be Finder). If the application with the given
        identifier is not installed then an error will be thrown on session
        startup. If the application is already running then it will be moved to
        the foreground.
        N)r   Ú	bundle_idr   r   s     r   r'   zMac2Options.bundle_id_   s   € ô 	× Ñ ×%Ñ% d¨EÕ2r   c                 ó   — t         dt        diS )NÚMac2ÚMac)r   r   )r   s    r   Údefault_capabilitiesz Mac2Options.default_capabilitiesl   s   € ô ˜VÜ˜5ð
ð 	
r   )Ú__name__Ú
__module__Ú__qualname__r	   r   Úsetterr   Ústrr   r!   r   r#   Úintr
   r%   r   r'   Úpropertyr+   © r   r   r   r   &   s  „ ð  ×Ñ×Ñð.˜D  c ™Nð .¨tò .ó  ð.ð ×Ñ×!Ñ!ð0˜T # s (™^ð 0°ò 0ó "ð0ð ×!Ñ!×(Ñ(ð7 ð 7¨ò 7ó )ð7ð ×!Ñ!×(Ñ(ð7 ð 7¨ò 7ó )ð7ð ×Ñ×$Ñ$ð
3˜sð 
3 tò 
3ó %ð
3ð ð
 dò 
ó ñ
r   r   N)"Útypingr   Ú,appium.options.common.automation_name_optionr   Úappium.options.common.baser   r   Ú&appium.options.common.bundle_id_optionr   Ú$appium.options.common.postrun_optionr   Ú#appium.options.common.prerun_optionr	   Ú(appium.options.common.system_host_optionr
   Ú(appium.options.common.system_port_optionr   Úapp_path_optionr   Úarguments_optionr   Úbootstrap_root_optionr   Úenvironment_optionr   Úserver_startup_timeout_optionr   Úshow_server_logs_optionr   Úskip_app_kill_optionr   Úweb_driver_agent_mac_url_optionr   r   r3   r   r   ú<module>rD      sm   ðõ$ å Hß CÝ AÝ >Ý <Ý EÝ Eå *Ý -Ý 6Ý 1Ý EÝ 9Ý 3Ý GôK
ØØØØØØØØØØØØØØõK
r   