Example #1
0
 /// <summary>
 /// Initialise the necessary variables for using the full project functionality.
 /// <para> Screenshots are enabled by deafult through <paramref name="flag"/>.</para>
 /// </summary>
 /// <param name="app">Provides way of interacting with app through tests</param>
 /// <param name="flag">Used to enable or disable settings</param>
 /// <example><c> Init(app, false)</c> will initialise app along with disabling screenshots</example>
 public static void Init(IApp app, bool flag = true)
 {
     Navigation.App = app;
     QueryLib.App   = app;
     Screenshot.App = app;
     Picker.App     = app;
     Screenshot.EnableScreenshots(flag);
 }