How to get the session ID of a running test via script in SpecFlow?

How to get the session ID of a running test via script in SpecFlow?

Hello Ana,

You can use the syntax below to get the session ID of a running test via script in SpecFlow:

HttpContext.Current.Session.SessionID