Ë
    ^Àj<	  ã                   óB   — d dl mZmZ d dlmZ d dlmZ  G d„ de«      Zy)é    )ÚAnyÚDict)ÚSelf)ÚCanExecuteScriptsc                   ó<   — e Zd Zdedefd„Zedeeef   fd„«       Z	y)ÚExecuteMobileCommandÚbutton_nameÚreturnc                 ó2   — d|i}| j                  d|«       | S )a°  Sends a physical button name to the device to simulate the user pressing.

        iOS only.
        Possible button names can be found in
        https://github.com/appium/WebDriverAgent/blob/master/WebDriverAgentLib/Categories/XCUIDevice%2BFBHelpers.h

        Args:
            button_name: the button name to be sent to the device

        Returns:
            Union['WebDriver', 'ExecuteMobileCommand']: Self instance

        Únamezmobile: pressButton©Úexecute_script)Úselfr	   Údatas      úf/home/ubuntu/.local/lib/python3.12/site-packages/appium/webdriver/extensions/execute_mobile_command.pyÚpress_buttonz!ExecuteMobileCommand.press_button   s$   € ð ˜Ð$ˆØ×ÑÐ1°4Ô8Øˆó    c                 ó$   — | j                  d«      S )aW  Retrieves battery information for the device under test.

        Returns:
            `dict`: containing the following entries
                level: Battery level in range [0.0, 1.0], where 1.0 means 100% charge.
                    Any value lower than 0 means the level cannot be retrieved
                state: Platform-dependent battery state value.
                    On iOS (XCUITest):
                        1: Unplugged
                        2: Charging
                        3: Full
                        Any other value means the state cannot be retrieved
                    On Android (UIAutomator2):
                        2: Charging
                        3: Discharging
                        4: Not charging
                        5: Full
                        Any other value means the state cannot be retrieved
        zmobile: batteryInfor   )r   s    r   Úbattery_infoz!ExecuteMobileCommand.battery_info)   s   € ð* ×"Ñ"Ð#8Ó9Ð9r   N)
Ú__name__Ú
__module__Ú__qualname__Ústrr   r   Úpropertyr   r   r   © r   r   r   r      s8   „ ð¨ð °ó ð$ ð:˜d 3¨ 8™nò :ó ñ:r   r   N)Útypingr   r   Útyping_extensionsr   Ú.appium.protocols.webdriver.can_execute_scriptsr   r   r   r   r   ú<module>r      s   ð÷ å "å Lô(:Ð,õ (:r   