atata-framework / atata

C#/.NET test automation framework for web
https://atata.io
Apache License 2.0
490 stars 80 forks source link

Add `SetAsCurrent` method to `AtataContext` #795

Closed YevgeniyShunevych closed 11 months ago

YevgeniyShunevych commented 11 months ago

Sets the context as current, by setting it to AtataContext.Current static property.

Usage

AtataContext context1 = ...;
AtataContext context2 = ...;

context1.SetAsCurrent();