Closed ocary closed 6 years ago
Does ICustomScreenshotGrabber need to be added to the find list in ScanForScreengrabber? ~line 168 in AssemblyLoader.cs --- https://github.com/getgauge/gauge-csharp/blob/0794e69ce696fa67a21106bf594c77233fc146e6/Runner/AssemblyLoader.cs
Note: This is the commit that added ICustomScreenshotGrabber - https://github.com/getgauge/gauge-csharp/commit/acce19d74f1d914eac2c783854a35f2ad78e6940
Expected behavior
TakeScreenShot()
to be called when implementingICustomScreenshotGrabber
Actual behavior
TakeScreenShot() is not called.
Note:
TakeScreenShot()
is called ifIScreenGrabber
is used, but a deprecated message is given.Sample code
With the above code: I see a deprecated message (expected) and the console.writeline message shows. Changing just to use
ICustomScreenshotGrabber
, results in theTakeScreenShot
method not being called.Gauge version