
    +g                         S SK Jr  SSKJrJr  S SKJr  S SKrS SKr " S S\R                  5      r
    SS jr S       SS	 jjr        SS
 jr      SS jr        SS jrg)    )annotations   )event_classT_JSON_DICT)	dataclassNc                  >    \ rS rSrSrSrSrSrSrS r	\
S 5       rS	rg
)StorageArea   z
Storage areas.
sessionlocalsyncmanagedc                    U R                   $ N)value)selfs    z/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/selenium/webdriver/common/devtools/v133/extensions.pyto_jsonStorageArea.to_json   s    zz    c                    U " U5      $ r    )clsjsons     r   	from_jsonStorageArea.from_json   s    4yr   r   N)__name__
__module____qualname____firstlineno____doc__SESSIONLOCALSYNCMANAGEDr   classmethodr   __static_attributes__r   r   r   r	   r	      s6     GEDG  r   r	   c              #  T   #    [        5       nXS'   SUS.nUv n[        US   5      $ 7f)aV  
Installs an unpacked extension from the filesystem similar to
--load-extension CLI flags. Returns extension ID once the extension
has been installed. Available if the client is connected using the
--remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
flag is set.

:param path: Absolute file path.
:returns: Extension id.
pathzExtensions.loadUnpackedmethodparamsid)dictstr)r)   r,   cmd_dictr   s       r   load_unpackedr1      s9      &F6N+H >DtDz?s   &(c              #     #    [        5       nXS'   UR                  5       US'   Ub  U Vs/ s H  oDPM     snUS'   SUS.nUv n[        US   5      $ s  snf 7f)a  
Gets data from extension storage in the given ``storageArea``. If ``keys`` is
specified, these are used to filter the result.

:param id_: ID of extension.
:param storage_area: StorageArea to retrieve data from.
:param keys: *(Optional)* Keys to retrieve.
:returns: 
r-   storageAreakeyszExtensions.getStorageItemsr*   datar.   r   id_storage_arear4   r,   ir0   r   s          r   get_storage_itemsr;   5   sp      &F4L(002F=%)*T!T*v.H >DV +s   )AA"Ac              #     #    [        5       nXS'   UR                  5       US'   U Vs/ s H  oDPM     snUS'   SUS.nUv ngs  snf 7f)z
Removes ``keys`` from extension storage in the given ``storageArea``.

:param id_: ID of extension.
:param storage_area: StorageArea to remove data from.
:param keys: Keys to remove.
r-   r3   r4   zExtensions.removeStorageItemsr*   Nr6   r7   s          r   remove_storage_itemsr=   P   s[      &F4L(002F=!%&Aa&F6N1H >D 's   &AAAc              #  `   #    [        5       nXS'   UR                  5       US'   SUS.nUv ng7f)z
Clears extension storage in the given ``storageArea``.

:param id_: ID of extension.
:param storage_area: StorageArea to remove data from.
r-   r3   zExtensions.clearStorageItemsr*   Nr6   )r8   r9   r,   r0   r   s        r   clear_storage_itemsr?   g   s>      &F4L(002F=0H >Ds   ,.c              #  h   #    [        5       nXS'   UR                  5       US'   X#S'   SUS.nUv ng7f)a  
Sets ``values`` in extension storage in the given ``storageArea``. The provided ``values``
will be merged with existing values in the storage area.

:param id_: ID of extension.
:param storage_area: StorageArea to set data in.
:param values: Values to set.
r-   r3   valueszExtensions.setStorageItemsr*   Nr6   )r8   r9   rA   r,   r0   r   s         r   set_storage_itemsrB   {   sF      &F4L(002F=8.H >Ds   02)r)   r/   returnz/typing.Generator[T_JSON_DICT, T_JSON_DICT, str]r   )r8   r/   r9   r	   r4   z!typing.Optional[typing.List[str]]rC   z0typing.Generator[T_JSON_DICT, T_JSON_DICT, dict])r8   r/   r9   r	   r4   ztyping.List[str]rC   0typing.Generator[T_JSON_DICT, T_JSON_DICT, None])r8   r/   r9   r	   rC   rD   )r8   r/   r9   r	   rA   r.   rC   rD   )
__future__r   utilr   r   dataclassesr   enumtypingEnumr	   r1   r;   r=   r?   rB   r   r   r   <module>rK      s    # * !  $)) "	64 37! 0 
8	6!  
8	.! 
8(!  
8	r   