public void Setup() { MyWebDriver driver = new MyWebDriver(); driver.GetDriver(); _driver = driver; _testCaseHandler = new TestCaseHandler(_driver); report = new BasicReport(); report.StartReport(); _screenShotGenerator = new ScreenshotGenerator(_driver); }
public override void OnInspectorGUI() { DrawDefaultInspector(); ScreenshotGenerator myScript = (ScreenshotGenerator)target; if (GUILayout.Button("Take Photos")) { // EditorGUILayout.ObjectField(myScript.phones, typeof(PhoneInfo[]) ,true, new GUILayoutOption[]{}); myScript.GenerateScreenShots(); } }