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.