From 35df94317885fa7e2617bdb7d17c6aa55891ba1a Mon Sep 17 00:00:00 2001 From: gilm Date: Sun, 1 Feb 2015 16:29:00 +0200 Subject: [PATCH] Added GetSessionURL --- TestFairy/binding/ApiDefinition.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TestFairy/binding/ApiDefinition.cs b/TestFairy/binding/ApiDefinition.cs index 10ce744d..420ab7fd 100644 --- a/TestFairy/binding/ApiDefinition.cs +++ b/TestFairy/binding/ApiDefinition.cs @@ -74,6 +74,14 @@ interface TestFairy { /// [Static, Export("resume")] void Resume(); + + /// + /// Returns the url of the current session while its being recorded. + /// Will return null if session hasn't started yet. + /// + /// The session URL. + [Static, Export("sessionUrl")] + string GetSessionUrl(); } }