How mcsymiv/gost works
Main Components Identification
a) Core Components:
• Driver Management Layer (driver/)
• Client Communication Layer (client/)
• Service Layer (service/)
• Command Processing Layer (command/)
• Configuration Management (config/)
• Test Execution Layer (gost/)
• JavaScript Integration (js/)
Architectural Layers
┌─ Test Layer ─────────────────────┐
• (test/*.go) │
• ┬──────────────────┘
• ↓
┌─ GOST Framework Core ────────────┐
• ┌─────────────┐ ┌────────────┐ │
• Configuration│ │Capabilities │ │
• ┘ └────────────┘ │
• ┌─────────────┐ ┌────────────┐ │
• Service │←→│ Client │ │
• ┘ └────────────┘ │
• ┌─────────────┐ ┌────────────┐ │
• Driver │←→│ Command │ │
• ┘ └────────────┘ │
• ┬──────────────────┘
• ↓
┌─ WebDriver Layer ────────────────┐
• (ChromeDriver/GeckoDriver) │
• ┬──────────────────┘
• ↓
┌─ Browser Layer ─────────────────┐
• (Chrome/Firefox) │
• ┘
Component Relationships
a) Data Flow:
• Test Layer → GOST Framework (test execution)
• GOST Framework → WebDriver (W3C protocol commands)
• WebDriver → Browser (browser automation)
b) Internal Communications:
• Service ↔ Client (HTTP communication)
• Driver ↔ Command (command execution)
• Configuration → All Components (config distribution)
Additional Details
a) Port Configuration:
• WebServer: 8080
• WebDriver: 4444
b) File Paths:
• Screenshots Directory
• Driver Logs Location
• JS Files Location
• Records Directory
Notes Section
Important notes about:
• Manual browser/driver versioning
• Configuration defaults
• Timeout settings
• Screenshot behavior
Remember to include version compatibility information and the supported browsers as this is crucial for understanding the framework's capabilities and limitations.