Integrate a Session live view within your application
Provide real-time visibility to your end-users on ongoing automation.
The Session Live Debug URLs can be used to integrate a live view of ongoing automation within your application.
For example, an application enabling users to configure advanced health checks based on pages’ content can benefit from allowing the users to see the health check recording in case of false positives.
Integrating a live Session iframe within your application
Store the Session ID of each automation run
Store the Session ID of each running Session by creating a Session using the Session API to store it and pass it to the connect URL as follows:
Request a debug connection URL by using the Session ID
If a user tries to access the live view of a running automation, retrieve the Session Live Debug URLs as follows:
Let’s forward the debugConnectionURL
to the front end to create the final live view with an iframe.
Integrate an iframe within your front-end
The front-end can now display a live running Session by loading the debugConnectionURL
in a read-only iframe:
style='pointer-events: none;'
line.Was this page helpful?