i want bypass the sso login in my project . any package are there.
1 Like
-
Request a special testing environment (or configuration) from your development or IT team where SSO is disabled or replaced with simpler login methods.
-
Direct Session Injection or Pre-Authentication:Simulate an authenticated session by injecting authentication cookies or tokens directly before starting UI automation. WebUI.openBrowser(‘’)
WebUI.setCookie([cookie data])
WebUI.navigateToUrl(‘your_target_url’) -
Use Mocks/Stubs at Authentication Layer- If possible, mock or stub the SSO provider to approve authentication requests
API-Based Authentication- Automate login via API to retrieve a session or access token, then inject that token into the browser session before navigating the UI
1 Like