graph LR
WDA_Client_Core_API["WDA Client Core & API"]
Session_Manager["Session Manager"]
HTTP_Communication_Layer["HTTP Communication Layer"]
WDA_Readiness_Lifecycle["WDA Readiness & Lifecycle"]
Basic_UI_Interaction["Basic UI Interaction"]
Composite_UI_Interaction["Composite UI Interaction"]
WDA_Client_Core_API -- "manages" --> Session_Manager
WDA_Client_Core_API -- "utilizes" --> HTTP_Communication_Layer
WDA_Client_Core_API -- "coordinates with" --> WDA_Readiness_Lifecycle
WDA_Client_Core_API -- "leverages" --> Basic_UI_Interaction
WDA_Client_Core_API -- "leverages" --> Composite_UI_Interaction
Session_Manager -- "communicates via" --> HTTP_Communication_Layer
Basic_UI_Interaction -- "communicates via" --> HTTP_Communication_Layer
Composite_UI_Interaction -- "uses" --> Basic_UI_Interaction
Composite_UI_Interaction -- "communicates via" --> HTTP_Communication_Layer
click WDA_Client_Core_API href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/facebook-wda/WDA_Client_Core_API.md" "Details"
The WDA Client Core & API subsystem serves as the primary interface for users interacting with the WebDriverAgent. It encapsulates the core Client class, orchestrates the overall client lifecycle, and exposes high-level automation commands.
WDA Client Core & API [Expand]
The primary interface for users, encapsulating the Client class, managing sessions, and exposing high-level automation commands. It orchestrates the overall client lifecycle and acts as a facade over the underlying WDA protocol.
Related Classes/Methods:
Handles the creation, management, and termination of WDA sessions, ensuring a valid connection and managing device state (e.g., locking/unlocking).
Related Classes/Methods:
Manages the underlying HTTP communication with the WebDriverAgent server, handling request sending and receiving. This is the fundamental layer for all client-server interactions.
Related Classes/Methods:
Ensures the WebDriverAgent is running and ready to accept commands, handling its initial startup if necessary. This component is crucial for establishing a functional connection.
Related Classes/Methods:
wda.__init__.is_ready:291-296wda.__init__.wait_ready:298-321wda.__init__._start_wda_xctest:215-231
Provides fundamental low-level UI interactions, such as tapping at specific coordinates on the device screen. These are atomic operations directly translated to WDA commands.
Related Classes/Methods:
Offers higher-level UI interactions that build upon basic interactions, potentially involving element lookups or more complex gestures. This component abstracts common user flows.
Related Classes/Methods: