Separated context initialization and Android framework setup into distinct methods. Adjusted method ordering and logging to streamline scenario handling and improve readability. This ensures better modularity and maintainability of setup processes.
Replaced string concatenation with `String#formatted` for improved readability and updated logging with `getScenario().log()` to enhance test context reporting. These changes make the output more structured and consistent.
Added "--lang=pl" argument to ChromeOptions for setting the browser language to Polish. This ensures consistency for tests requiring localization in Polish.
Disabled headless mode to allow for visual debugging during test execution. This change helps in identifying UI issues more effectively by allowing the browser to render fully during tests.
Updated browser configuration for better resolution and enabled screenshots on failures. Implemented automatic screenshot attachment for failed scenarios to enhance debugging and reporting. Minor refactors and improvements for clarity and functionality.