How to get session ID of a running test via script with C#- xUnit?

How to get session ID of a running test via script with C#- xUnit?

Hey Rhian,

To get session ID of a running test via script with C#- xUnit, you can use the syntax below to get the session Id:

HttpContext.Current.Session.SessionID