You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can CodeceptJS dynamic config accept an async function?
I need to connect to a CEF container using browserWSEndpoint, but the webSocketDebuggerUrl is not static. Before launching the browser, I have to request http://localhost:xxx/json/version to get the correct webSocketDebuggerUrl and pass it to browserWSEndpoint.
Since this requires an asynchronous operation, is there a way to handle this in the dynamic config?
Additional Context
The browserWSEndpoint is not constant throughout the test flow.
During automation, we have scenarios where the application closes and restarts, meaning we need to fetch a new webSocketDebuggerUrl dynamically at different points in the test execution.
Is there an existing way to handle this, or should I look into modifying the helper to support this behavior?
The text was updated successfully, but these errors were encountered:
Question
Can CodeceptJS dynamic config accept an async function?
I need to connect to a CEF container using browserWSEndpoint, but the webSocketDebuggerUrl is not static. Before launching the browser, I have to request http://localhost:xxx/json/version to get the correct webSocketDebuggerUrl and pass it to browserWSEndpoint.
Since this requires an asynchronous operation, is there a way to handle this in the dynamic config?
Additional Context
Is there an existing way to handle this, or should I look into modifying the helper to support this behavior?
The text was updated successfully, but these errors were encountered: