GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
Enums.cs
Go to the documentation of this file.
1// =============================================================================
2// GPAL - Generally Positive Automation Library
3// Copyright © 2026 Software Decisions, Inc. All rights reserved.
4//
5// This file is part of GPAL.
6// Licensed under the Business Source License 1.1
7//
8// Primary development, architecture, and vision by Michael B. Vederman,
9// CEO of Software Decisions, Inc., Texas.
10//
11// Internal development maintained privately.
12// Public releases appear on GitHub: https://github.com/SoftwareDecisionsInc/GPAL.
13//
14// See LICENSE for full terms, including Additional Use Grant.
15// =============================================================================
16
17using DocumentFormat.OpenXml.Wordprocessing;
18using Org.BouncyCastle.Asn1.Cms;
19using System;
20using System.Collections.Generic;
21using System.ComponentModel;
22using System.Linq;
23using System.Text;
24using System.Threading.Tasks;
25using System.Windows;
27
30namespace GenerallyPositive
31{
35 public static class Enums
36 {
37 #region GPAL
41 [Flags]
42 public enum SelectorPathType
43 {
44 NotSet = 0,
48 Css = 1,
52 Image = 2,
56 Text = 4,
60 Value = 8,
64 Xpath = 16,
68 Name = 32,
72 AutomationID = 64,
76 ClassName = 128,
80 PlaceHolder = 256,
84 HRef = 512
85 };
89 public enum SelectorType { Selector, Data, DataFunc }
93 [Flags] public enum ModifierKeys { NONE = 0, Alt = 1, Control = 2, Windows = 4, Shift = 8, Application = 16, ScrollLock = 32, ALL = ~0 }
94
98 public enum WriteMode { Append, Insert, Overwrite }
102 public enum GPALObjectType { None, AIProvider, Application, Browser, Converter, Cryptography, Database, FileSettings, GoogleCloud, GoogleSheets, GPALAI, GPALExcel, GPALFile, GPALForm, Logger, Other, Puppeteer, PuppeteerCommunicator, PuppeteerClient, RestClient, RestHelper, Selector, UnitOfWork, YouTube }
106 internal enum ScrollTypes { Horizontal, Vertical, Percent, Increments }
110 public enum DataFormat { NOTSET = 0, BASE64, CARET, CLASS, COLON, CSV, CUSTOM_DELIMITER, DATABASE, DICTIONARY, DOT, GRID, HTML, HYPHEN, JSON, LOG, /*// post-v1: PDF*/ PIPE, PRN, SEMICOLON, SPACE, STRING, TAB, XLSX, XML, YAML } // prn is psace delimnited file
114 public enum FileSortOrder { NameAscending = 0, NameDescending, NaturalAscending, NaturalDescending, DateModifiedAscending, DateModifiedDescending, DateCreatedAscending, DateCreatedDescending }
118 public enum DeepCopy { Fields, Properties, FieldsAndProperties }
122 public enum CallIfStatus { Terminate = -1, NotHandled = 0, Handled = 1, TryNext = 2 }
127 public enum GPALFailure { None = 0, Navigation = 1 }
133 public enum MailFailure { None = 0, Configuration = 1, Certificate = 2, Connection = 3, Authentication = 4, Transfer = 5 }
142 public enum WebAuthType { None = 0, Basic = 1, Digest = 2, Proxy = 3, Bearer = 4, Form = 5, XAuthToken = 6, XApiKey = 7, ApiKey = 8 }
154 [Flags] public enum GPALEventType { All = ~0, NONE = 0, INFO = 1, WARNING = 2, ERROR = 4, EXCEPTION = 8, DEBUG = 16, DEEPDEBUG = 32, NOTICE = 64, CAUTION = 128, FAILURE = 256, GPALALL = INFO | WARNING | ERROR | EXCEPTION, USERALL = NOTICE | CAUTION | FAILURE | EXCEPTION }
159 public enum RowPosition
160 {
161 First,
162 Last
163 }
167 internal enum CastMode
168 {
169 Tab,
170 Desktop
171 }
177 internal enum CoordinateSpace
178 {
179 Screen, // absolute pixels on the primary display - what the hardware mouse takes
180 Viewport // pixels relative to the top left of the page viewport - what CDP input takes
181 }
187 public readonly struct ContentType
188 {
189 private readonly string _value;
190
191 public static readonly ContentType Json = new ContentType("application/json");
192 public static readonly ContentType Form = new ContentType("application/x-www-form-urlencoded");
193 public static readonly ContentType Text = new ContentType("text/plain");
194 public static readonly ContentType Xml = new ContentType("application/xml");
195 public static readonly ContentType Html = new ContentType("text/html");
196 public static readonly ContentType Binary = new ContentType("application/octet-stream");
197
198 internal ContentType(string value) => _value = value;
199
200 public static implicit operator ContentType(string contentType)
201 => new ContentType(contentType);
202
203 public static implicit operator string(ContentType contentType)
204 => contentType._value;
205
206 public override string ToString() => _value;
207 }
208
213 public readonly struct HttpVerb
214 {
215 private readonly string _value;
216
217 public static readonly HttpVerb Get = new HttpVerb("GET");
218 public static readonly HttpVerb Post = new HttpVerb("POST");
219 public static readonly HttpVerb Put = new HttpVerb("PUT");
220 public static readonly HttpVerb Patch = new HttpVerb("PATCH");
221 public static readonly HttpVerb Delete = new HttpVerb("DELETE");
222 public static readonly HttpVerb Head = new HttpVerb("HEAD");
223 public static readonly HttpVerb Options = new HttpVerb("OPTIONS");
224
225 internal HttpVerb(string value) => _value = value;
226
227 public static implicit operator HttpVerb(string method)
228 => new HttpVerb(method);
229
230 public static implicit operator string(HttpVerb method)
231 => method._value;
232
233 public override string ToString() => _value;
234 }
235
239 public readonly struct WaitTime
240 {
241 private readonly int _value;
242
243 public static readonly WaitTime Forever = new WaitTime(-1);
244 public static readonly WaitTime Never = new WaitTime(-2);
245 public static readonly WaitTime Immediate = new WaitTime(0);
246
247 internal WaitTime(int value) => _value = value;
248
249 public static implicit operator WaitTime(int ms)
250 => new WaitTime(ms);
251
252 public static implicit operator int(WaitTime wt)
253 => wt._value;
254
255 public override string ToString() => _value switch
256 {
257 -1 => "Forever",
258 -2 => "Never",
259 0 => "Immediate",
260 _ => _value.ToString()
261 };
262
263 internal static bool TryFromString(string value, out WaitTime result)
264 {
265 result = Immediate;
266
267 if (string.IsNullOrWhiteSpace(value))
268 return false;
269
270 if (int.TryParse(value, out int ms))
271 {
272 result = new WaitTime(ms);
273 return true;
274 }
275
276 switch (value)
277 {
278 case "Forever":
279 result = Forever;
280 return true;
281 case "Never":
282 result = Never;
283 return true;
284 case "Immediate":
285 result = Immediate;
286 return true;
287 }
288
289 return false;
290 }
291
292 internal static bool TryFromDictionary(
293 IDictionary<object, object> dictionary,
294 out WaitTime result)
295 {
296 result = Immediate;
297
298 if (dictionary == null || dictionary.Count == 0)
299 {
300 result = WaitTime.Never;
301 return true;
302 }
303
304 dynamic value;
305
306 // Expected keys (adjust if you want)
307 value = dictionary.Keys.First();
308
309 if (false == string.IsNullOrEmpty(value))
310 {
311 if (value is WaitTime wt)
312 {
313 result = wt;
314 return true;
315 }
316
317 if (value is int i)
318 {
319 result = new WaitTime(i);
320 return true;
321 }
322
323 if (value is string s &&
324 TryFromString(s, out result))
325 {
326 return true;
327 }
328 }
329
330 return false;
331 }
332 }
333 #endregion GPAL
334 #region LoggerEnums
338 public enum DirectoryStructure
339 {
340 None,
341 YMDH,
342 YMD,
343 YM,
344 MDH,
345 MD,
346 M,
347 DH,
348 D,
349 H,
350 Julian
351 }
355 public enum FilenamePattern
356 {
357 None,
358 YMDHMSm,
359 YMDHMS,
360 YMDHM,
361 YMDH,
362 YMD,
363 YM,
364 MM,
365 Y,
366 MDHMSm,
367 MDHMS,
368 MDHM,
369 MDH,
370 DHMSm,
371 DHMS,
372 DHM,
373 DH,
374 D,
375 HMSm,
376 HMS,
377 HM,
378 H,
379 MSm,
380 MS,
381 M,
382 Sm,
383 S,
384 m,
385 Julian
386 }
393 public enum NextFilePattern
394 {
396 Timestamp = 0,
398 DateTimeStamp,
400 DateStamp,
402 Counter,
404 CounterPadded
405 }
409 // deliberately not [Flags], unlike GPALEventType: a subscription is a set of types and a written log
410 // entry is exactly one of them. the names match GPALEventType so the two map by name
411 public enum LogType { INFO, WARNING, ERROR, EXCEPTION, DEBUG, DEEPDEBUG, NOTICE, CAUTION, FAILURE }
415 public enum LogDateFormat
416 {
417 NOTSET,
418 YMD_HMS, // yyyy-MM-dd HH:mm:ss
419 YMD_HMS_FFF, // yyyy-MM-dd HH:mm:ss.fff
420 DMY_HMS, // dd-MM-yyyy HH:mm:ss
421 MDY_HMS, // MM-dd-yyyy HH:mm:ss
422 DMY, // dd-MM-yyyy
423 MDY, // MM-dd-yyyy
424 YMD, // yyyy-MM-dd
425 HMS, // HH:mm:ss
426 HM, // HH:mm
427 MDY_Long // MMMM dd, yyyy (e.g., "March 24, 2024")
428 }
429 #endregion
430 #region <ApplicationEnums>
434 internal enum ConditionPropertyType { NotSet, ControlType, Name, Value, AutomationID, ClassName }
435 #endregion <ApplicationEnums>
436 #region <BrowserEnums>
440 public enum BrowserType { Chrome, Edge, FireFox, /*IE11, Safari*/ }
448 public enum ClickType { LeftClick, LeftDoubleClick, MiddleClick, RightClick }
453 public enum SelectClickType { LeftClick, SelectRandom, SelectNext, SelectNextWithWrap, SelectPrevious, SelectPreviousWithWrap }
457 public enum InteractionType {
461 Selenium,
465 JavaScript,
469 Hardware,
473 UIAutomation,
477 Puppeteer,
481 OttoMagic
482 }
488 [Flags] internal enum MatchType { None = 0, Regex = 1, Custom = 2, Href = 4, Placeholder = 8, Src = 16, Text = 32, Value = 64, Attribute = 128 }
492 internal enum ElementType { Element, IFrame, ShadowRoot }
496 [Flags]
497 public enum StealthType
498 {
499 None = 0,
500 All = ~0, // All bits set - no need to test for this explicitly
501 CDP = 1 << 0, // 2^0 = 1
502 DarkMode = 1 << 1, // 2^1 = 2
503 GoogleReferrer = 1 << 2, // 2^2 = 4
504 ToStringOverride = 1 << 3, // 2^3 = 8
505 PatchDriver = 1 << 4, // 2^4 = 16 - patches the active driver binary (chromedriver or msedgedriver)
506 // these create but don't seem to have any effect
507 //GenerateFakeCookies = 1 << 5, // generate fake cookies when creating the temporary chrome profile
508 }
512 public enum ElementState
513 {
514 NotSet = 0,
515 Visible = 1,
516 Hidden = 2,
517 Enabled = 4,
518 Disabled = 8,
519 Checked = 16,
520 Unchecked = 32,
521 Selected = 64,
522 Unselected = 128,
523 Clickable = 256, // Both Visible and Enabled
524 Editable = 512
525 }
529 public enum AutomationEngine { OttoMagic, OttoMagicHW, PuppeteerPort, PuppeteerPortHW, Selenium, SeleniumHW, SeleniumJS, PuppeteerPipe, PuppeteerPipeHW }
530 #endregion <BrowserEnums>
531 #region <DatabaseEnums>
535 public enum DatabaseType { NotSet, SQLServer }
540 public enum ClipboardType { Text, Html, Rtf, Csv, FileList, Image }
541 #endregion <DatabaseEnums>
542 #region <FormControlEnums>
546 public enum FormControlType { BarItem, Button, Callback, Chart, Checkbox, ComboBox, DataGridView, DateTimePicker, FileSelector, Input, Label, ListView, MenuBar, NumericUpDown, Picture, ProgressBar, RadioButton, RichTextBox, Slider, SmallLabel, StatusStrip, Tab, TableLayoutPanel, TextArea, Toolbar, TreeView, LinkLabel, Spacer }
547 public enum ListViewMode { Details, List, LargeIcon, SmallIcon, Tile }
551 public enum ControlEventType
552 {
553 AfterSelect,
554 CellValueChanged,
555 Click,
556 Change,
557 CheckedChanged,
558 Default, // means "attach to whatever the control thinks is its primary event" - no .ForEvent specified
559 DoubleClick,
560 DragDrop,
561 DragEnter,
562 DragLeave,
563 DragOver,
564 ItemChecked,
565 KeyDown,
566 Scroll,
567 SelectedIndexChanged,
568 SplitterMoved,
569 TextChanged,
570 ValueChanged,
571 // extend as needed
572 }
573 #endregion <FormControlEnums>
574 #region Credential Enums
578 public enum CredentialServiceType
579 {
580 LastPass,
581 OnePassword,
582 Dashlane,
583 Bitwarden,
584 Keeper,
585 Google,
586 Azure,
587 AWS,
588 None,
590 StaticKey,
591 /*
592 Dropbox,
593 Kaspersky,
594 LastPass,
595 OptVault,
596 RoboForm,
597 Sticky,
598 TrueKey,
599 Zoho
600 */
601 }
605 public enum OAuthScope
606 {
607 // Google Scopes
608 Google_Sheets, // https://www.googleapis.com/auth/spreadsheets
609 Google_Drive, // https://www.googleapis.com/auth/drive
610 Google_CloudPlatform,// https://www.googleapis.com/auth/cloud-platform
611
612 // Azure Scopes (Microsoft Entra ID / Microsoft Graph)
613 Azure_GraphUserRead, // https://graph.microsoft.com/User.Read
614 Azure_GraphMailRead, // https://graph.microsoft.com/Mail.Read
615 Azure_Storage, // https://storage.azure.com/user_impersonation
616 Azure_Management, // https://management.azure.com/user_impersonation
617
618 // AWS Scopes (Cognito or API Gateway)
619 AWS_CognitoOpenId, // openid (for AWS Cognito user pools)
620 AWS_CognitoProfile, // profile (for AWS Cognito user attributes)
621 AWS_APIGatewayCustom, // Custom scope for API Gateway (e.g., myapp/read)
622
623 // YouTube
624 YouTube_Upload, // https://www.googleapis.com/auth/youtube.upload
625 YouTube_Manage // https://www.googleapis.com/auth/youtube (read, edit, delete, playlists, thumbnails)
626 }
627
631 public enum YouTubePrivacy { Public, Private, Unlisted }
632
636 public enum YouTubeCategory
637 {
638 FilmAnimation = 1,
639 AutosVehicles = 2,
640 Music = 10,
641 PetsAnimals = 15,
642 Sports = 17,
643 TravelEvents = 19,
644 Gaming = 20,
645 PeopleBlogs = 22,
646 Comedy = 23,
647 Entertainment = 24,
648 NewsPolitics = 25,
649 HowtoStyle = 26,
650 Education = 27,
651 ScienceTechnology = 28,
652 NonprofitsActivism = 29
653 }
654
655 #endregion Credential Enums
656 #region REST API
660 public enum ApiEndpoint
661 {
662 Back, // history.back()
663 CaptureVisibleTab,
664 CastDesktop, // NOTE: since we use these endpoints for puppeteer and rest, these must stay but are not availahble to rest
665 CastTab, // NOTE: since we use these endpoints for puppeteer and rest, these must stay but are not availahble to rest
666 CheckNetworkIdle, // ensure no more than 'maxConnections' are active - better than document.readyState in some scenarios
667 CheckStatus, // same as getreadystatus, not sure why we have two...
668 ClearReferrer,
669 CloseBrowser,
670 CloseTab,
671 CloseWindow,
672 DeleteStorage,
673 DragAndDrop,
674 EvaluatePersistent, // xpath
675 EvaluateAllPersistent, // xpath multiple elements
676 Evaluate, // xpath
677 EvaluateAll, // xpath multiple elements
678 ExecuteJavaScript,
679 Fetch, // issue an api request from inside the page, carrying its session
680 FillInAppend,
681 FillInInsert,
682 FillInOverwrite,
683 FireChangeEvent,
684 Focus,
685 Forward, // history.forward()
686 FullScreen,
687 GetAttribute,
688 GetBoundingClientRect,
689 ElementFromPoint,
690 GetBrowserSettings,
691 GetContentAndCss,
692 GetCssAttributes,
693 GetCurrentUrl,
694 GetCurrentWindow,
695 GetDocumentStamp,
696 GetHydrationScripts,
697 GetDomAttributes,
698 GetDomProperties,
699 GetElementAttributeHash,
700 GetGpalSettings,
701 GetPageSource,
702 GetParentNode,
703 GetReadyStatus,
704 GetSettings,
705 GetShadowRoot, // NOTE: CAVEAT: this may not make any sense
706 GetLanguages,
707 CaptureCalls, // start or stop recording what the page asks for
708 GetCapturedCalls, // everything recorded so far, oldest first
709 GetStorage,
710 GetUserAgent,
711 GetWindowRectangle,
712 GetWorkflow,
713 GoTo,
714 GoToTab,
715 GoToWindow,
716 HideElement,
717 Hover,
718 InjectScript,
719 ClearInjectedScripts,
720 IsClickable,
721 IsDisplayed,
722 IsEnabled,
723 IsEndOfPage,
724 IsVisibleInViewport,
725 LeftClick,
726 LeftClickAndDownload,
727 LeftDoubleClick,
728 MiddleClick,
729 Maximize,
730 Minimize,
731 MoveTo,
732 MoveToPoint, // move the mouse to a viewport coordinate rather than to an element
733 ClickPoint, // click a viewport coordinate rather than an element
734 NewTab,
735 NextTab,
736 NextWindow,
737 Normal, // restore window after fullscreen
738 OpenWindow,
739 OverrideReferrer,
740 PageDown,
741 PageEnd,
742 PageTop,
743 PageUp,
744 PressModifierKey,
745 PreviousTab,
746 PreviousWindow,
747 QueryPersistentSelector, // css
748 QueryPersistentSelectors, // css multiple elements
749 QuerySelector, // css
750 QuerySelectors, // css multiple elements
751 Refresh,
752 ReleaseModifierKey,
753 Restore,
754 RightClick,
755 ScrollWindowByHorizontal,
756 ScrollWindowByVertical,
757 ScrollElement,
758 ScrollIntoView,
759 ScrollWindow,
760 SelectClick,
761 SendKey,
762 SendString,
763 SetAttribute,
764 SetDownloadFilename,
765 SetRange,
766 SetStorage,
767 SetStorageCache,
768 SetStorageIndexedDb,
769 SetUserAgent,
770 SetValueFromElement,
771 SetGoogleReferrer,
772 StopCasting,
773 SwitchToDefaultContent,
774 SwitchToElement,
775 SwitchToFrame,
776 SwitchToShadowRoot,
777 TabCount, // how many tabs the browser actually has, not how many we opened
778 TopBrowser,
779 TrustedLeftClick,
780 TrustedMiddleClick,
781 Upload,
782 WindowInnerHeight,
783 WindowInnerWidth,
784 WindowOuterHeight,
785 WindowOuterWidth,
786 WindowPageOffsetX,
787 WindowPageOffsetY,
788 WindowScreenLeft,
789 WindowScreenTop
790 }
794 public enum ContentEncoding
795 {
796 Json,
797 UrlEncoded
798 // Add more (e.g., MultipartFormData, Xml, Text) if needed later
799 }
800 #endregion REST API
801 #region AI
805 public enum AITask
806 {
807 Classification,
808 Summarization,
809 TextGeneration,
810 DataAugmentation
811 }
812
816 public enum AIClassificationType
817 {
818 Sentiment,
819 Spam,
820 Topic,
821 Intent,
822 Emotion,
823 Toxicity,
824 Language,
825 Category,
826 Priority,
827 Relevance,
828 Tone,
829 Urgency,
830 IntentComplexity,
831 Risk,
833 Engagement,
834 Authenticity,
835 LanguageProficiency,
836 SentimentConfidence,
837 Custom
838 }
839
844 public readonly struct AIProviderType
845 {
846 public static readonly AIProviderType XAI = new AIProviderType("XAI");
847 public static readonly AIProviderType OpenAI = new AIProviderType("OpenAI");
848 public static readonly AIProviderType Anthropic = new AIProviderType("Anthropic");
849
850 public string Name { get; }
851 public AIProviderType(string name) { Name = name; }
852 public static implicit operator AIProviderType(string name) => new AIProviderType(name);
853 public static bool operator ==(AIProviderType a, AIProviderType b) => string.Equals(a.Name, b.Name, StringComparison.OrdinalIgnoreCase);
854 public static bool operator !=(AIProviderType a, AIProviderType b) => !(a == b);
855 public override bool Equals(object obj) => obj is AIProviderType other && this == other;
856 public override int GetHashCode() => Name == null ? 0 : StringComparer.OrdinalIgnoreCase.GetHashCode(Name);
857 public override string ToString() => Name;
858 }
859
865 public readonly struct AIModel
866 {
867 private readonly string _value;
868
869 internal AIModel(string value) => _value = value;
870
871 // xAI
872 public static readonly AIModel Grok2Latest = new AIModel("grok-2-latest");
873 public static readonly AIModel Grok3Latest = new AIModel("grok-3-latest");
874
875 // OpenAI
876 public static readonly AIModel GPT4o = new AIModel("gpt-4o");
877 public static readonly AIModel GPT4oMini = new AIModel("gpt-4o-mini");
878 public static readonly AIModel O3Mini = new AIModel("o3-mini");
879
880 // Anthropic (current)
881 public static readonly AIModel ClaudeHaiku45 = new AIModel("claude-haiku-4-5-20251001");
882 public static readonly AIModel ClaudeSonnet46 = new AIModel("claude-sonnet-4-6");
883 public static readonly AIModel ClaudeOpus5 = new AIModel("claude-opus-5");
884 public static readonly AIModel ClaudeFable5 = new AIModel("claude-fable-5");
885
887 public static implicit operator AIModel(string modelId) => new AIModel(modelId);
888
889 public override string ToString() => _value;
890 }
891 #endregion AI
892 #region <Helpers>
899 internal static int GetIndexOfEnum<T>(int bitsToTest) where T : Enum
900 {
901 int idx = 0;
902
903 foreach (string evalName in Enum.GetNames(typeof(T)))
904 {
905 int testBit = (int)Enum.Parse(typeof(T), evalName);
906
907 if (0 != testBit && testBit == (testBit & bitsToTest))
908 break;
909 idx++;
910 }
911 return idx;
912 }
913 #endregion <Helpers>
914 #region Puppeteer
918 public enum ImageFormat
919 {
920 JPEG, PNG
921 }
925 public enum PageOrientation
926 {
927 [Description("false")]
928 Portrait,
929
930 [Description("true")]
931 Landscape
932 }
936 public enum PageFormat
937 {
938 [Description("A0")]
939 A0,
940
941 [Description("A1")]
942 A1,
943
944 [Description("A2")]
945 A2,
946
947 [Description("A3")]
948 A3,
949
950 [Description("A4")]
951 A4,
952
953 [Description("A5")]
954 A5,
955
956 [Description("A6")]
957 A6,
958
959 [Description("Letter")]
960 Letter,
961
962 [Description("Legal")]
963 Legal,
964
965 [Description("Tabloid")]
966 Tabloid,
967
968 [Description("Ledger")]
969 Ledger
970 }
974 public enum DevToolsMethods
975 {
976 [Command("Accessibility.disable")]
977 AccessibilityDisable,
978 [Command("Accessibility.enable")]
979 AccessibilityEnable,
980 [Command("Accessibility.getChildAXNodes")]
981 AccessibilityGetChildAXNodes,
982 [Command("Accessibility.getFullAXTree")]
983 AccessibilityGetFullAXTree,
984 [Command("Accessibility.getPartialAXTree")]
985 AccessibilityGetPartialAXTree,
986 [Command("Accessibility.getRootAXNode")]
987 AccessibilityGetRootAXNode,
988 [Command("Accessibility.queryAXTree")]
989 AccessibilityQueryAXTree,
990
991 [Command("Animation.disable")]
992 AnimationDisable,
993 [Command("Animation.enable")]
994 AnimationEnable,
995 [Command("Animation.getCurrentTime")]
996 AnimationGetCurrentTime,
997 [Command("Animation.getPlaybackRate")]
998 AnimationGetPlaybackRate,
999 [Command("Animation.releaseAnimations")]
1000 AnimationReleaseAnimations,
1001 [Command("Animation.resolveAnimation")]
1002 AnimationResolveAnimation,
1003 [Command("Animation.seekAnimations")]
1004 AnimationSeekAnimations,
1005 [Command("Animation.setPaused")]
1006 AnimationSetPaused,
1007 [Command("Animation.setPlaybackRate")]
1008 AnimationSetPlaybackRate,
1009 [Command("Animation.setTiming")]
1010 AnimationSetTiming,
1011
1012 [Command("Audits.disable")]
1013 AuditsDisable,
1014 [Command("Audits.enable")]
1015 AuditsEnable,
1016 [Command("Audits.checkContrast")]
1017 AuditsCheckContrast,
1018 [Command("Audits.getEncodedResponse")]
1019 AuditsGetEncodedResponse,
1020
1021 [Command("BackgroundService.startObserving")]
1022 BackgroundServiceStartObserving,
1023 [Command("BackgroundService.stopObserving")]
1024 BackgroundServiceStopObserving,
1025 [Command("BackgroundService.setRecording")]
1026 BackgroundServiceSetRecording,
1027 [Command("BackgroundService.clearEvents")]
1028 BackgroundServiceClearEvents,
1029
1030 [Command("Browser.setPermission")]
1031 BrowserSetPermission,
1032 [Command("Browser.grantPermissions")]
1033 BrowserGrantPermissions,
1034 [Command("Browser.resetPermissions")]
1035 BrowserResetPermissions,
1036 [Command("Browser.setDownloadBehavior")]
1037 BrowserSetDownloadBehavior,
1038 [Command("Browser.cancelDownload")]
1039 BrowserCancelDownload,
1040 [Command("Browser.close")]
1041 BrowserClose,
1042 [Command("Browser.crash")]
1043 BrowserCrash,
1044 [Command("Browser.crashGpuProcess")]
1045 BrowserCrashGpuProcess,
1046 [Command("Browser.getVersion")]
1047 BrowserGetVersion,
1048 [Command("Browser.getBrowserCommandLine")]
1049 BrowserGetBrowserCommandLine,
1050 [Command("Browser.getHistograms")]
1051 BrowserGetHistograms,
1052 [Command("Browser.getHistogram")]
1053 BrowserGetHistogram,
1054 [Command("Browser.getWindowBounds")]
1055 BrowserGetWindowBounds,
1056 [Command("Browser.getWindowForTarget")]
1057 BrowserGetWindowForTarget,
1058 [Command("Browser.setWindowBounds")]
1059 BrowserSetWindowBounds,
1060 [Command("Browser.setDockTile")]
1061 BrowserSetDockTile,
1062 [Command("Browser.executeBrowserCommand")]
1063 BrowserExecuteBrowserCommand,
1064 [Command("Browser.showCastUi")]
1065 BrowserShowCastUi,
1066
1067 [Command("CSS.addRule")]
1068 CSSAddRule,
1069 [Command("CSS.collectClassNames")]
1070 CSSCollectClassNames,
1071 [Command("CSS.createStyleSheet")]
1072 CSSCreateStyleSheet,
1073 [Command("CSS.disable")]
1074 CSSDisable,
1075 [Command("CSS.enable")]
1076 CSSEnable,
1077 [Command("CSS.forcePseudoState")]
1078 CSSForcePseudoState,
1079 [Command("CSS.getBackgroundColors")]
1080 CSSGetBackgroundColors,
1081 [Command("CSS.getComputedStyleForNode")]
1082 CSSGetComputedStyleForNode,
1083 [Command("CSS.getInlineStylesForNode")]
1084 CSSGetInlineStylesForNode,
1085 [Command("CSS.getMatchedStylesForNode")]
1086 CSSGetMatchedStylesForNode,
1087 [Command("CSS.getMediaQueries")]
1088 CSSGetMediaQueries,
1089 [Command("CSS.getPlatformFontsForNode")]
1090 CSSGetPlatformFontsForNode,
1091 [Command("CSS.getStyleSheetText")]
1092 CSSGetStyleSheetText,
1093 [Command("CSS.getLayers")]
1094 CSSGetLayers,
1095 [Command("CSS.trackComputedStyleUpdates")]
1096 CSSTrackComputedStyleUpdates,
1097 [Command("CSS.takeComputedStyleUpdates")]
1098 CSSTakeComputedStyleUpdates,
1099 [Command("CSS.setEffectivePropertyValueForNode")]
1100 CSSSetEffectivePropertyValueForNode,
1101 [Command("CSS.setKeyframeKey")]
1102 CSSSetKeyframeKey,
1103 [Command("CSS.setMediaText")]
1104 CSSSetMediaText,
1105 [Command("CSS.setContainerQueryText")]
1106 CSSSetContainerQueryText,
1107 [Command("CSS.setSupportsText")]
1108 CSSSetSupportsText,
1109 [Command("CSS.setScopeText")]
1110 CSSSetScopeText,
1111 [Command("CSS.setRuleSelector")]
1112 CSSSetRuleSelector,
1113 [Command("CSS.setStyleSheetText")]
1114 CSSSetStyleSheetText,
1115 [Command("CSS.setStyleTexts")]
1116 CSSSetStyleTexts,
1117 [Command("CSS.startRuleUsageTracking")]
1118 CSSStartRuleUsageTracking,
1119 [Command("CSS.stopRuleUsageTracking")]
1120 CSSStopRuleUsageTracking,
1121 [Command("CSS.takeCoverageDelta")]
1122 CSSTakeCoverageDelta,
1123 [Command("CSS.setLocalFontsEnabled")]
1124 CSSSetLocalFontsEnabled,
1125
1126 [Command("CacheStorage.deleteCache")]
1127 CacheStorageDeleteCache,
1128 [Command("CacheStorage.deleteEntry")]
1129 CacheStorageDeleteEntry,
1130 [Command("CacheStorage.requestCacheNames")]
1131 CacheStorageRequestCacheNames,
1132 [Command("CacheStorage.requestCachedResponse")]
1133 CacheStorageRequestCachedResponse,
1134 [Command("CacheStorage.requestEntries")]
1135 CacheStorageRequestEntries,
1136
1137 [Command("Cast.enable")]
1138 CastEnable,
1139 [Command("Cast.disable")]
1140 CastDisable,
1141 [Command("Cast.setSinkToUse")]
1142 CastSetSinkToUse,
1143 [Command("Cast.startDesktopMirroring")]
1144 CastStartDesktopMirroring,
1145 [Command("Cast.startTabMirroring")]
1146 CastStartTabMirroring,
1147 [Command("Cast.stopCasting")]
1148 CastStopCasting,
1149 [Command("Cast.sinksUpdated")] // Event, not command
1150 CastSinksUpdated,
1151 [Command("Cast.issueUpdated")]
1152 CastIssueUpdated,
1153
1154 [Command("DOM.collectClassNamesFromSubtree")]
1155 DOMCollectClassNamesFromSubtree,
1156 [Command("DOM.copyTo")]
1157 DOMCopyTo,
1158 [Command("DOM.describeNode")]
1159 DOMDescribeNode,
1160 [Command("DOM.scrollIntoViewIfNeeded")]
1161 DOMScrollIntoViewIfNeeded,
1162 [Command("DOM.disable")]
1163 DOMDisable,
1164 [Command("DOM.discardSearchResults")]
1165 DOMDiscardSearchResults,
1166 [Command("DOM.enable")]
1167 DOMEnable,
1168 [Command("DOM.focus")]
1169 DOMFocus,
1170 [Command("DOM.getAttributes")]
1171 DOMGetAttributes,
1172 [Command("DOM.getBoxModel")]
1173 DOMGetBoxModel,
1174 [Command("DOM.getContentQuads")]
1175 DOMGetContentQuads,
1176 [Command("DOM.getDocument")]
1177 DOMGetDocument,
1178 [Command("DOM.getExceptionDetails")]
1179 DOMGetExceptionDetails,
1180 [Command("DOM.getFlattenedDocument")]
1181 DOMGetFlattenedDocument,
1182 [Command("DOM.getNodesForSubtreeByStyle")]
1183 DOMGetNodesForSubtreeByStyle,
1184 [Command("DOM.getNodeForLocation")]
1185 DOMGetNodeForLocation,
1186 [Command("DOM.getOuterHTML")]
1187 DOMGetOuterHTML,
1188 [Command("DOM.getRelatableNode")]
1189 DOMGetRelatableNode,
1190 [Command("DOM.getRelatedNodes")]
1191 DOMGetRelatedNodes,
1192 [Command("DOM.getSearchResults")]
1193 DOMGetSearchResults,
1194 [Command("DOM.hideHighlight")]
1195 DOMHideHighlight,
1196 [Command("DOM.highlightNode")]
1197 DOMHighlightNode,
1198 [Command("DOM.highlightQuad")]
1199 DOMHighlightQuad,
1200 [Command("DOM.markUndoableState")]
1201 DOMMarkUndoableState,
1202 [Command("DOM.moveTo")]
1203 DOMMoveTo,
1204 [Command("DOM.performSearch")]
1205 DOMPerformSearch,
1206 [Command("DOM.pushNodeByPathToFrontend")]
1207 DOMPushNodeByPathToFrontend,
1208 [Command("DOM.pushNodesByBackendIdsToFrontend")]
1209 DOMPushNodesByBackendIdsToFrontend,
1210 [Command("DOM.querySelector")]
1211 DOMQuerySelector,
1212 [Command("DOM.querySelectorAll")]
1213 DOMQuerySelectorAll,
1214 [Command("DOM.redo")]
1215 DOMRedo,
1216 [Command("DOM.removeAttribute")]
1217 DOMRemoveAttribute,
1218 [Command("DOM.removeNode")]
1219 DOMRemoveNode,
1220 [Command("DOM.requestChildNodes")]
1221 DOMRequestChildNodes,
1222 [Command("DOM.requestNode")]
1223 DOMRequestNode,
1224 [Command("DOM.resolveNode")]
1225 DOMResolveNode,
1226 [Command("DOM.setAttributeValue")]
1227 DOMSetAttributeValue,
1228 [Command("DOM.setAttributesAsText")]
1229 DOMSetAttributesAsText,
1230 [Command("DOM.setFileInputFiles")]
1231 DOMSetFileInputFiles,
1232 [Command("DOM.setNodeStackTracesEnabled")]
1233 DOMSetNodeStackTracesEnabled,
1234 [Command("DOM.getNodeStackTraces")]
1235 DOMGetNodeStackTraces,
1236 [Command("DOM.getFileInfo")]
1237 DOMGetFileInfo,
1238 [Command("DOM.setInspectedNode")]
1239 DOMSetInspectedNode,
1240 [Command("DOM.setNodeName")]
1241 DOMSetNodeName,
1242 [Command("DOM.setNodeValue")]
1243 DOMSetNodeValue,
1244 [Command("DOM.setOuterHTML")]
1245 DOMSetOuterHTML,
1246 [Command("DOM.undo")]
1247 DOMUndo,
1248 [Command("DOM.getFrameOwner")]
1249 DOMGetFrameOwner,
1250 [Command("DOM.getContainerForNode")]
1251 DOMGetContainerForNode,
1252 [Command("DOM.getQueryingDescendantsForContainer")]
1253 DOMGetQueryingDescendantsForContainer,
1254
1255 [Command("DOMDebugger.getEventListeners")]
1256 DOMDebuggerGetEventListeners,
1257 [Command("DOMDebugger.removeDOMBreakpoint")]
1258 DOMDebuggerRemoveDOMBreakpoint,
1259 [Command("DOMDebugger.removeEventListenerBreakpoint")]
1260 DOMDebuggerRemoveEventListenerBreakpoint,
1261 [Command("DOMDebugger.removeInstrumentationBreakpoint")]
1262 DOMDebuggerRemoveInstrumentationBreakpoint,
1263 [Command("DOMDebugger.removeXHRBreakpoint")]
1264 DOMDebuggerRemoveXHRBreakpoint,
1265 [Command("DOMDebugger.setBreakOnCSPViolation")]
1266 DOMDebuggerSetBreakOnCSPViolation,
1267 [Command("DOMDebugger.setDOMBreakpoint")]
1268 DOMDebuggerSetDOMBreakpoint,
1269 [Command("DOMDebugger.setEventListenerBreakpoint")]
1270 DOMDebuggerSetEventListenerBreakpoint,
1271 [Command("DOMDebugger.setInstrumentationBreakpoint")]
1272 DOMDebuggerSetInstrumentationBreakpoint,
1273 [Command("DOMDebugger.setXHRBreakpoint")]
1274 DOMDebuggerSetXHRBreakpoint,
1275
1276 [Command("DOMSnapshot.disable")]
1277 DOMSnapshotDisable,
1278 [Command("DOMSnapshot.enable")]
1279 DOMSnapshotEnable,
1280 [Command("DOMSnapshot.captureSnapshot")]
1281 DOMSnapshotCaptureSnapshot,
1282
1283 [Command("DOMStorage.clear")]
1284 DOMStorageClear,
1285 [Command("DOMStorage.disable")]
1286 DOMStorageDisable,
1287 [Command("DOMStorage.enable")]
1288 DOMStorageEnable,
1289 [Command("DOMStorage.getDOMStorageItems")]
1290 DOMStorageGetDOMStorageItems,
1291 [Command("DOMStorage.removeDOMStorageItem")]
1292 DOMStorageRemoveDOMStorageItem,
1293 [Command("DOMStorage.setDOMStorageItem")]
1294 DOMStorageSetDOMStorageItem,
1295
1296 [Command("Database.disable")]
1297 DatabaseDisable,
1298 [Command("Database.enable")]
1299 DatabaseEnable,
1300 [Command("Database.executeSQL")]
1301 DatabaseExecuteSQL,
1302 [Command("Database.getDatabaseTableNames")]
1303 DatabaseGetDatabaseTableNames,
1304
1305 [Command("DeviceAccess.cancelPrompt")]
1306 DeviceAccessCancelPrompt,
1307 [Command("DeviceAccess.selectPrompt")]
1308 DeviceAccessSelectPrompt,
1309
1310 [Command("DeviceOrientation.clearDeviceOrientationOverride")]
1311 DeviceOrientationClearDeviceOrientationOverride,
1312 [Command("DeviceOrientation.setDeviceOrientationOverride")]
1313 DeviceOrientationSetDeviceOrientationOverride,
1314
1315 [Command("Emulation.canEmulate")]
1316 EmulationCanEmulate,
1317 [Command("Emulation.clearDeviceMetricsOverride")]
1318 EmulationClearDeviceMetricsOverride,
1319 [Command("Emulation.clearGeolocationOverride")]
1320 EmulationClearGeolocationOverride,
1321 [Command("Emulation.clearIdleOverride")]
1322 EmulationClearIdleOverride,
1323 [Command("Emulation.resetPageScaleFactor")]
1324 EmulationResetPageScaleFactor,
1325 [Command("Emulation.setAutomationOverride")]
1326 EmulationSetAutomationOverride,
1327 [Command("Emulation.setCPUThrottlingRate")]
1328 EmulationSetCPUThrottlingRate,
1329 [Command("Emulation.setDefaultBackgroundColorOverride")]
1330 EmulationSetDefaultBackgroundColorOverride,
1331 [Command("Emulation.setDeviceMetricsOverride")]
1332 EmulationSetDeviceMetricsOverride,
1333 [Command("Emulation.setDisabledImageTypes")]
1334 EmulationSetDisabledImageTypes,
1335 [Command("Emulation.setEmitTouchEventsForMouse")]
1336 EmulationSetEmitTouchEventsForMouse,
1337 [Command("Emulation.setEmulatedMedia")]
1338 EmulationSetEmulatedMedia,
1339 [Command("Emulation.setEmulatedVisionDeficiency")]
1340 EmulationSetEmulatedVisionDeficiency,
1341 [Command("Emulation.setFocusEmulationEnabled")]
1342 EmulationSetFocusEmulationEnabled,
1343 [Command("Emulation.setGeolocationOverride")]
1344 EmulationSetGeolocationOverride,
1345 [Command("Emulation.setHardwareConcurrencyOverride")]
1346 EmulationSetHardwareConcurrencyOverride,
1347 [Command("Emulation.setIdleOverride")]
1348 EmulationSetIdleOverride,
1349 [Command("Emulation.setLocaleOverride")]
1350 EmulationSetLocaleOverride,
1351 [Command("Emulation.setPageScaleFactor")]
1352 EmulationSetPageScaleFactor,
1353 [Command("Emulation.setScriptExecutionDisabled")]
1354 EmulationSetScriptExecutionDisabled,
1355 [Command("Emulation.setScrollbarsHidden")]
1356 EmulationSetScrollbarsHidden,
1357 [Command("Emulation.setTimezoneOverride")]
1358 EmulationSetTimezoneOverride,
1359 [Command("Emulation.setTouchEmulationEnabled")]
1360 EmulationSetTouchEmulationEnabled,
1361 [Command("Emulation.setUserAgentOverride")]
1362 EmulationSetUserAgentOverride,
1363 [Command("Emulation.setVirtualTimePolicy")]
1364 EmulationSetVirtualTimePolicy,
1365 [Command("Emulation.setVisibleSize")]
1366 EmulationSetVisibleSize,
1367
1368 [Command("Runtime.evaluate")]
1369 EvaluateJavaScript,
1370
1371 [Command("EventBreakpoints.setInstrumentationBreakpoint")]
1372 EventBreakpointsSetInstrumentationBreakpoint,
1373 [Command("EventBreakpoints.removeInstrumentationBreakpoint")]
1374 EventBreakpointsRemoveInstrumentationBreakpoint,
1375
1376 [Command("Extensions.install")]
1377 ExtensionsInstall,
1378 [Command("Extensions.uninstall")]
1379 ExtensionsUninstall,
1380 [Command("Extensions.enable")]
1381 ExtensionsEnable,
1382 [Command("Extensions.disable")]
1383 ExtensionsDisable,
1384 [Command("Extensions.getExtensions")]
1385 ExtensionsGetExtensions,
1386 [Command("Extensions.getManifest")]
1387 ExtensionsGetManifest,
1388 [Command("Extensions.sendCommand")]
1389 ExtensionsSendCommand,
1390 [Command("Extensions.addResource")]
1391 ExtensionsAddResource,
1392 [Command("Extensions.removeResource")]
1393 ExtensionsRemoveResource,
1394 [Command("Extensions.reload")]
1395 ExtensionsReload,
1396
1397 [Command("Fetch.disable")]
1398 FetchDisable,
1399 [Command("Fetch.enable")]
1400 FetchEnable,
1401 [Command("Fetch.failRequest")]
1402 FetchFailRequest,
1403 [Command("Fetch.fulfillRequest")]
1404 FetchFulfillRequest,
1405 [Command("Fetch.continueRequest")]
1406 FetchContinueRequest,
1407 [Command("Fetch.continueWithAuth")]
1408 FetchContinueWithAuth,
1409 [Command("Fetch.continueResponse")]
1410 FetchContinueResponse,
1411 [Command("Fetch.getResponseBody")]
1412 FetchGetResponseBody,
1413 [Command("Fetch.takeResponseBodyAsStream")]
1414 FetchTakeResponseBodyAsStream,
1415
1416 [Command("HeadlessExperimental.beginFrame")]
1417 HeadlessExperimentalBeginFrame,
1418 [Command("HeadlessExperimental.disable")]
1419 HeadlessExperimentalDisable,
1420 [Command("HeadlessExperimental.enable")]
1421 HeadlessExperimentalEnable,
1422
1423 [Command("HeapProfiler.addInspectedHeapObject")]
1424 HeapProfilerAddInspectedHeapObject,
1425 [Command("HeapProfiler.collectGarbage")]
1426 HeapProfilerCollectGarbage,
1427 [Command("HeapProfiler.disable")]
1428 HeapProfilerDisable,
1429 [Command("HeapProfiler.enable")]
1430 HeapProfilerEnable,
1431 [Command("HeapProfiler.getHeapObjectId")]
1432 HeapProfilerGetHeapObjectId,
1433 [Command("HeapProfiler.getObjectByHeapObjectId")]
1434 HeapProfilerGetObjectByHeapObjectId,
1435 [Command("HeapProfiler.getSamplingProfile")]
1436 HeapProfilerGetSamplingProfile,
1437 [Command("HeapProfiler.startSampling")]
1438 HeapProfilerStartSampling,
1439 [Command("HeapProfiler.startTrackingHeapObjects")]
1440 HeapProfilerStartTrackingHeapObjects,
1441 [Command("HeapProfiler.stopSampling")]
1442 HeapProfilerStopSampling,
1443 [Command("HeapProfiler.stopTrackingHeapObjects")]
1444 HeapProfilerStopTrackingHeapObjects,
1445 [Command("HeapProfiler.takeHeapSnapshot")]
1446 HeapProfilerTakeHeapSnapshot,
1447
1448 [Command("IndexedDB.clearObjectStore")]
1449 IndexedDBClearObjectStore,
1450 [Command("IndexedDB.deleteDatabase")]
1451 IndexedDBDeleteDatabase,
1452 [Command("IndexedDB.deleteObjectStoreEntry")]
1453 IndexedDBDeleteObjectStoreEntry,
1454 [Command("IndexedDB.disable")]
1455 IndexedDBDisable,
1456 [Command("IndexedDB.enable")]
1457 IndexedDBEnable,
1458 [Command("IndexedDB.requestData")]
1459 IndexedDBRequestData,
1460 [Command("IndexedDB.getKeyRange")]
1461 IndexedDBGetKeyRange,
1462 [Command("IndexedDB.requestDatabase")]
1463 IndexedDBRequestDatabase,
1464 [Command("IndexedDB.requestDatabaseNames")]
1465 IndexedDBRequestDatabaseNames,
1466
1467 [Command("Input.dispatchKeyEvent")]
1468 InputDispatchKeyEvent,
1469 [Command("Input.imeSetComposition")]
1470 InputImeSetComposition,
1471 [Command("Input.insertText")]
1472 InputInsertText,
1473 [Command("Input.dispatchMouseEvent")]
1474 InputDispatchMouseEvent,
1475 [Command("Input.dispatchTouchEvent")]
1476 InputDispatchTouchEvent,
1477 [Command("Input.emulateTouchFromMouseEvent")]
1478 InputEmulateTouchFromMouseEvent,
1479 [Command("Input.setIgnoreInputEvents")]
1480 InputSetIgnoreInputEvents,
1481 [Command("Input.setInterceptDrags")]
1482 InputSetInterceptDrags,
1483 [Command("Input.synthesizePinchGesture")]
1484 InputSynthesizePinchGesture,
1485 [Command("Input.synthesizeScrollGesture")]
1486 InputSynthesizeScrollGesture,
1487 [Command("Input.synthesizeTapGesture")]
1488 InputSynthesizeTapGesture,
1489 [Command("Input.cancelDragging")]
1490 InputCancelDragging,
1491
1492 [Command("Inspector.disable")]
1493 InspectorDisable,
1494 [Command("Inspector.enable")]
1495 InspectorEnable,
1496
1497 [Command("LayerTree.compositingReasons")]
1498 LayerTreeCompositingReasons,
1499 [Command("LayerTree.disable")]
1500 LayerTreeDisable,
1501 [Command("LayerTree.enable")]
1502 LayerTreeEnable,
1503 [Command("LayerTree.loadSnapshot")]
1504 LayerTreeLoadSnapshot,
1505 [Command("LayerTree.makeSnapshot")]
1506 LayerTreeMakeSnapshot,
1507 [Command("LayerTree.profileSnapshot")]
1508 LayerTreeProfileSnapshot,
1509 [Command("LayerTree.releaseSnapshot")]
1510 LayerTreeReleaseSnapshot,
1511 [Command("LayerTree.replaySnapshot")]
1512 LayerTreeReplaySnapshot,
1513 [Command("LayerTree.snapshotCommandLog")]
1514 LayerTreeSnapshotCommandLog,
1515
1516 [Command("Log.clear")]
1517 LogClear,
1518 [Command("Log.disable")]
1519 LogDisable,
1520 [Command("Log.enable")]
1521 LogEnable,
1522 [Command("Log.startViolationsReport")]
1523 LogStartViolationsReport,
1524 [Command("Log.stopViolationsReport")]
1525 LogStopViolationsReport,
1526
1527 [Command("Media.enable")]
1528 MediaEnable,
1529 [Command("Media.disable")]
1530 MediaDisable,
1531
1532 [Command("Memory.getDOMCounters")]
1533 MemoryGetDOMCounters,
1534 [Command("Memory.prepareForLeakDetection")]
1535 MemoryPrepareForLeakDetection,
1536 [Command("Memory.forciblyPurgeJavaScriptMemory")]
1537 MemoryForciblyPurgeJavaScriptMemory,
1538 [Command("Memory.setPressureNotificationsSuppressed")]
1539 MemorySetPressureNotificationsSuppressed,
1540 [Command("Memory.simulatePressureNotification")]
1541 MemorySimulatePressureNotification,
1542 [Command("Memory.startSampling")]
1543 MemoryStartSampling,
1544 [Command("Memory.stopSampling")]
1545 MemoryStopSampling,
1546 [Command("Memory.getAllTimeSamplingProfile")]
1547 MemoryGetAllTimeSamplingProfile,
1548 [Command("Memory.getBrowserSamplingProfile")]
1549 MemoryGetBrowserSamplingProfile,
1550 [Command("Memory.getSamplingProfile")]
1551 MemoryGetSamplingProfile,
1552
1553 [Command("Performance.disable")]
1554 PerformanceDisable,
1555 [Command("Performance.enable")]
1556 PerformanceEnable,
1557 [Command("Performance.setTimeDomain")]
1558 PerformanceSetTimeDomain,
1559 [Command("Performance.getMetrics")]
1560 PerformanceGetMetrics,
1561
1562 [Command("PerformanceTimeline.enable")]
1563 PerformanceTimelineEnable,
1564
1565 [Command("Profiler.disable")]
1566 ProfilerDisable,
1567 [Command("Profiler.enable")]
1568 ProfilerEnable,
1569 [Command("Profiler.getBestEffortCoverage")]
1570 ProfilerGetBestEffortCoverage,
1571 [Command("Profiler.setSamplingInterval")]
1572 ProfilerSetSamplingInterval,
1573 [Command("Profiler.start")]
1574 ProfilerStart,
1575 [Command("Profiler.startPreciseCoverage")]
1576 ProfilerStartPreciseCoverage,
1577 [Command("Profiler.startTypeProfile")]
1578 ProfilerStartTypeProfile,
1579 [Command("Profiler.stop")]
1580 ProfilerStop,
1581 [Command("Profiler.stopPreciseCoverage")]
1582 ProfilerStopPreciseCoverage,
1583 [Command("Profiler.stopTypeProfile")]
1584 ProfilerStopTypeProfile,
1585 [Command("Profiler.takePreciseCoverage")]
1586 ProfilerTakePreciseCoverage,
1587 [Command("Profiler.takeTypeProfile")]
1588 ProfilerTakeTypeProfile,
1589
1590 [Command("Runtime.awaitPromise")]
1591 RuntimeAwaitPromise,
1592 [Command("Runtime.callFunctionOn")]
1593 RuntimeCallFunctionOn,
1594 [Command("Runtime.compileScript")]
1595 RuntimeCompileScript,
1596 [Command("Runtime.disable")]
1597 RuntimeDisable,
1598 [Command("Runtime.discardConsoleEntries")]
1599 RuntimeDiscardConsoleEntries,
1600 [Command("Runtime.enable")]
1601 RuntimeEnable,
1602 [Command("Runtime.evaluate")]
1603 RuntimeEvaluate,
1604 [Command("Runtime.getExceptionDetails")]
1605 RuntimeGetExceptionDetails,
1606 [Command("Runtime.getHeapUsage")]
1607 RuntimeGetHeapUsage,
1608 [Command("Runtime.getIsolateId")]
1609 RuntimeGetIsolateId,
1610 [Command("Runtime.getProperties")]
1611 RuntimeGetProperties,
1612 [Command("Runtime.globalLexicalScopeNames")]
1613 RuntimeGlobalLexicalScopeNames,
1614 [Command("Runtime.queryObjects")]
1615 RuntimeQueryObjects,
1616 [Command("Runtime.releaseObject")]
1617 RuntimeReleaseObject,
1618 [Command("Runtime.releaseObjectGroup")]
1619 RuntimeReleaseObjectGroup,
1620 [Command("Runtime.runIfWaitingForDebugger")]
1621 RuntimeRunIfWaitingForDebugger,
1622 [Command("Runtime.runScript")]
1623 RuntimeRunScript,
1624 [Command("Runtime.setAsyncCallStackDepth")]
1625 RuntimeSetAsyncCallStackDepth,
1626 [Command("Runtime.setCustomObjectFormatterEnabled")]
1627 RuntimeSetCustomObjectFormatterEnabled,
1628 [Command("Runtime.setMaxCallStackSizeToCapture")]
1629 RuntimeSetMaxCallStackSizeToCapture,
1630 [Command("Runtime.terminateExecution")]
1631 RuntimeTerminateExecution,
1632
1633 [Command("Security.disable")]
1634 SecurityDisable,
1635 [Command("Security.enable")]
1636 SecurityEnable,
1637 [Command("Security.setIgnoreCertificateErrors")]
1638 SecuritySetIgnoreCertificateErrors,
1639 [Command("Security.handleCertificateError")]
1640 SecurityHandleCertificateError,
1641 [Command("Security.setOverrideCertificateErrors")]
1642 SecuritySetOverrideCertificateErrors,
1643
1644 [Command("ServiceWorker.deliverPushMessage")]
1645 ServiceWorkerDeliverPushMessage,
1646 [Command("ServiceWorker.disable")]
1647 ServiceWorkerDisable,
1648 [Command("ServiceWorker.enable")]
1649 ServiceWorkerEnable,
1650 [Command("ServiceWorker.inspectWorker")]
1651 ServiceWorkerInspectWorker,
1652 [Command("ServiceWorker.setForceUpdateOnPageLoad")]
1653 ServiceWorkerSetForceUpdateOnPageLoad,
1654 [Command("ServiceWorker.skipWaiting")]
1655 ServiceWorkerSkipWaiting,
1656 [Command("ServiceWorker.startWorker")]
1657 ServiceWorkerStartWorker,
1658 [Command("ServiceWorker.stopAllWorkers")]
1659 ServiceWorkerStopAllWorkers,
1660 [Command("ServiceWorker.stopWorker")]
1661 ServiceWorkerStopWorker,
1662 [Command("ServiceWorker.unregister")]
1663 ServiceWorkerUnregister,
1664 [Command("ServiceWorker.updateRegistration")]
1665 ServiceWorkerUpdateRegistration,
1666
1667 [Command("Storage.clearCookies")]
1668 StorageClearCookies,
1669 [Command("Storage.clearDataForOrigin")]
1670 StorageClearDataForOrigin,
1671 [Command("Storage.clearDataForStorageId")]
1672 StorageClearDataForStorageId,
1673 [Command("Storage.clearSharedStorageEntries")]
1674 StorageClearSharedStorageEntries,
1675 [Command("Storage.clearTrustTokens")]
1676 StorageClearTrustTokens,
1677 [Command("Storage.deleteSharedStorageEntry")]
1678 StorageDeleteSharedStorageEntry,
1679 [Command("Storage.deleteStorageBucket")]
1680 StorageDeleteStorageBucket,
1681 [Command("Storage.getCookies")]
1682 StorageGetCookies,
1683 [Command("Storage.getInterestGroupDetails")]
1684 StorageGetInterestGroupDetails,
1685 [Command("Storage.getSharedStorageEntries")]
1686 StorageGetSharedStorageEntries,
1687 [Command("Storage.getSharedStorageMetadata")]
1688 StorageGetSharedStorageMetadata,
1689 [Command("Storage.getStorageKeyForFrame")]
1690 StorageGetStorageKeyForFrame,
1691 [Command("Storage.getTrustTokens")]
1692 StorageGetTrustTokens,
1693 [Command("Storage.getUsageAndQuota")]
1694 StorageGetUsageAndQuota,
1695 [Command("Storage.joinInterestGroup")]
1696 StorageJoinInterestGroup,
1697 [Command("Storage.overrideQuotaForOrigin")]
1698 StorageOverrideQuotaForOrigin,
1699 [Command("Storage.resetSharedStorageBudget")]
1700 StorageResetSharedStorageBudget,
1701 [Command("Storage.runBounceTrackingMitigations")]
1702 StorageRunBounceTrackingMitigations,
1703 [Command("Storage.setCookies")]
1704 StorageSetCookies,
1705 [Command("Storage.setInterestGroupTracking")]
1706 StorageSetInterestGroupTracking,
1707 [Command("Storage.setSharedStorageEntry")]
1708 StorageSetSharedStorageEntry,
1709 [Command("Storage.setSharedStorageTracking")]
1710 StorageSetSharedStorageTracking,
1711 [Command("Storage.setStorageBucketTracking")]
1712 StorageSetStorageBucketTracking,
1713 [Command("Storage.trackCacheStorageForOrigin")]
1714 StorageTrackCacheStorageForOrigin,
1715 [Command("Storage.trackCacheStorageForStorageKey")]
1716 StorageTrackCacheStorageForStorageKey,
1717 [Command("Storage.trackIndexedDBForOrigin")]
1718 StorageTrackIndexedDBForOrigin,
1719 [Command("Storage.trackIndexedDBForStorageKey")]
1720 StorageTrackIndexedDBForStorageKey,
1721 [Command("Storage.untrackCacheStorageForOrigin")]
1722 StorageUntrackCacheStorageForOrigin,
1723 [Command("Storage.untrackCacheStorageForStorageKey")]
1724 StorageUntrackCacheStorageForStorageKey,
1725 [Command("Storage.untrackIndexedDBForOrigin")]
1726 StorageUntrackIndexedDBForOrigin,
1727 [Command("Storage.untrackIndexedDBForStorageKey")]
1728 StorageUntrackIndexedDBForStorageKey,
1729
1730 [Command("SystemInfo.getFeatureState")]
1731 SystemInfoGetFeatureState,
1732 [Command("SystemInfo.getInfo")]
1733 SystemInfoGetInfo,
1734 [Command("SystemInfo.getProcessInfo")]
1735 SystemInfoGetProcessInfo,
1736
1737 [Command("Target.activateTarget")]
1738 TargetActivateTarget,
1739 [Command("Target.attachToTarget")]
1740 TargetAttachToTarget,
1741 [Command("Target.attachToBrowserTarget")]
1742 TargetAttachToBrowserTarget,
1743 [Command("Target.closeTarget")]
1744 TargetCloseTarget,
1745 [Command("Target.createBrowserContext")]
1746 TargetCreateBrowserContext,
1747 [Command("Target.createTarget")]
1748 TargetCreateTarget,
1749 [Command("Target.detachFromTarget")]
1750 TargetDetachFromTarget,
1751 [Command("Target.disposeBrowserContext")]
1752 TargetDisposeBrowserContext,
1753 [Command("Target.getBrowserContexts")]
1754 TargetGetBrowserContexts,
1755 [Command("Target.getTargetInfo")]
1756 TargetGetTargetInfo,
1757 [Command("Target.getTargets")]
1758 TargetGetTargets,
1759 [Command("Target.sendMessageToTarget")]
1760 TargetSendMessageToTarget,
1761 [Command("Target.setAttachToFrames")]
1762 TargetSetAttachToFrames,
1763 [Command("Target.setAutoAttach")]
1764 TargetSetAutoAttach,
1765 [Command("Target.setDiscoverTargets")]
1766 TargetSetDiscoverTargets,
1767 [Command("Target.setRemoteLocations")]
1768 TargetSetRemoteLocations,
1769
1770 [Command("Tethering.bind")]
1771 TetheringBind,
1772 [Command("Tethering.unbind")]
1773 TetheringUnbind,
1774
1775 [Command("Tracing.end")]
1776 TracingEnd,
1777 [Command("Tracing.getCategories")]
1778 TracingGetCategories,
1779 [Command("Tracing.recordClockSyncMarker")]
1780 TracingRecordClockSyncMarker,
1781 [Command("Tracing.requestMemoryDump")]
1782 TracingRequestMemoryDump,
1783 [Command("Tracing.start")]
1784 TracingStart,
1785
1786 [Command("WebAudio.enable")]
1787 WebAudioEnable,
1788 [Command("WebAudio.disable")]
1789 WebAudioDisable,
1790 [Command("WebAudio.getRealtimeData")]
1791 WebAudioGetRealtimeData,
1792
1793 [Command("WebAuthn.enable")]
1794 WebAuthnEnable,
1795 [Command("WebAuthn.disable")]
1796 WebAuthnDisable,
1797 [Command("WebAuthn.addVirtualAuthenticator")]
1798 WebAuthnAddVirtualAuthenticator,
1799 [Command("WebAuthn.addCredential")]
1800 WebAuthnAddCredential,
1801 [Command("WebAuthn.getCredential")]
1802 WebAuthnGetCredential,
1803 [Command("WebAuthn.getCredentials")]
1804 WebAuthnGetCredentials,
1805 [Command("WebAuthn.removeCredential")]
1806 WebAuthnRemoveCredential,
1807 [Command("WebAuthn.removeVirtualAuthenticator")]
1808 WebAuthnRemoveVirtualAuthenticator,
1809 [Command("WebAuthn.setUserVerified")]
1810 WebAuthnSetUserVerified,
1811 [Command("WebAuthn.clearCredentials")]
1812 WebAuthnClearCredentials,
1813
1814 [Command("Page.addScriptToEvaluateOnNewDocument")]
1815 PageAddScriptToEvaluateOnNewDocument,
1816 [Command("Page.bringToFront")]
1817 PageBringToFront,
1818 [Command("Page.captureScreenshot")]
1819 PageCaptureScreenshot,
1820 [Command("Page.close")]
1821 PageClose,
1822 [Command("Page.createIsolatedWorld")]
1823 PageCreateIsolatedWorld,
1824 [Command("Page.disable")]
1825 PageDisable,
1826 [Command("Page.enable")]
1827 PageEnable,
1828 [Command("Page.getAppManifest")]
1829 PageGetAppManifest,
1830 [Command("Page.getFrameTree")]
1831 PageGetFrameTree,
1832 [Command("Page.getLayoutMetrics")]
1833 PageGetLayoutMetrics,
1834 [Command("Page.getNavigationHistory")]
1835 PageGetNavigationHistory,
1836 [Command("Page.handleJavaScriptDialog")]
1837 PageHandleJavaScriptDialog,
1838 [Command("Page.navigate")]
1839 PageNavigate,
1840 [Command("Page.navigateToHistoryEntry")]
1841 PageNavigateToHistoryEntry,
1842 [Command("Page.printToPDF")]
1843 PagePrintToPDF,
1844 [Command("Page.reload")]
1845 PageReload,
1846 [Command("Page.removeScriptToEvaluateOnNewDocument")]
1847 PageRemoveScriptToEvaluateOnNewDocument,
1848 [Command("Page.resetNavigationHistory")]
1849 PageResetNavigationHistory,
1850 [Command("Page.setBypassCSP")]
1851 PageSetBypassCSP,
1852 [Command("Page.setDocumentContent")]
1853 PageSetDocumentContent,
1854 [Command("Page.setInterceptFileChooserDialog")]
1855 PageSetInterceptFileChooserDialog,
1856 [Command("Page.setLifecycleEventsEnabled")]
1857 PageSetLifecycleEventsEnabled,
1858 [Command("Page.stopLoading")]
1859 PageStopLoading,
1860 [Command("Page.clearGeolocationOverride")]
1861 PageClearGeolocationOverride,
1862 [Command("Page.setGeolocationOverride")]
1863 PageSetGeolocationOverride,
1864 [Command("Page.addCompilationCache")]
1865 PageAddCompilationCache,
1866 [Command("Page.captureSnapshot")]
1867 PageCaptureSnapshot,
1868 [Command("Page.clearCompilationCache")]
1869 PageClearCompilationCache,
1870 [Command("Page.crash")]
1871 PageCrash,
1872 [Command("Page.generateTestReport")]
1873 PageGenerateTestReport,
1874 [Command("Page.getAdScriptAncestry")]
1875 PageGetAdScriptAncestry,
1876 [Command("Page.getAppId")]
1877 PageGetAppId,
1878 [Command("Page.getInstallabilityErrors")]
1879 PageGetInstallabilityErrors,
1880 [Command("Page.getOriginTrials")]
1881 PageGetOriginTrials,
1882 [Command("Page.getPermissionsPolicyState")]
1883 PageGetPermissionsPolicyState,
1884 [Command("Page.getResourceContent")]
1885 PageGetResourceContent,
1886 [Command("Page.getResourceTree")]
1887 PageGetResourceTree,
1888 [Command("Page.produceCompilationCache")]
1889 PageProduceCompilationCache,
1890 [Command("Page.screencastFrameAck")]
1891 PageScreencastFrameAck,
1892 [Command("Page.searchInResource")]
1893 PageSearchInResource,
1894 [Command("Page.setAdBlockingEnabled")]
1895 PageSetAdBlockingEnabled,
1896 [Command("Page.setFontFamilies")]
1897 PageSetFontFamilies,
1898 [Command("Page.setFontSizes")]
1899 PageSetFontSizes,
1900 [Command("Page.setPrerenderingAllowed")]
1901 PageSetPrerenderingAllowed,
1902 [Command("Page.setRPHRegistrationMode")]
1903 PageSetRPHRegistrationMode,
1904 [Command("Page.setSPCTransactionMode")]
1905 PageSetSPCTransactionMode,
1906 [Command("Page.setWebLifecycleState")]
1907 PageSetWebLifecycleState,
1908 [Command("Page.startScreencast")]
1909 PageStartScreencast,
1910 [Command("Page.stopScreencast")]
1911 PageStopScreencast,
1912 [Command("Page.waitForDebugger")]
1913 PageWaitForDebugger,
1914 [Command("Page.addScriptToEvaluateOnLoad")]
1915 PageAddScriptToEvaluateOnLoad,
1916 [Command("Page.clearDeviceMetricsOverride")]
1917 PageClearDeviceMetricsOverride,
1918 [Command("Page.clearDeviceOrientationOverride")]
1919 PageClearDeviceOrientationOverride,
1920 [Command("Page.deleteCookie")]
1921 PageDeleteCookie,
1922 [Command("Page.getManifestIcons")]
1923 PageGetManifestIcons,
1924 [Command("Page.removeScriptToEvaluateOnLoad")]
1925 PageRemoveScriptToEvaluateOnLoad,
1926 [Command("Page.setDeviceMetricsOverride")]
1927 PageSetDeviceMetricsOverride,
1928 [Command("Page.setDeviceOrientationOverride")]
1929 PageSetDeviceOrientationOverride,
1930 [Command("Page.setDownloadBehavior")]
1931 PageSetDownloadBehavior,
1932 [Command("Page.setTouchEmulationEnabled")]
1933 PageSetTouchEmulationEnabled,
1934 [Command("Network.clearBrowserCache")]
1935 NetworkClearBrowserCache,
1936 [Command("Network.clearBrowserCookies")]
1937 NetworkClearBrowserCookies,
1938 [Command("Network.deleteCookies")]
1939 NetworkDeleteCookies,
1940 [Command("Network.disable")]
1941 NetworkDisable,
1942 [Command("Network.enable")]
1943 NetworkEnable,
1944 [Command("Network.emulateNetworkConditions")]
1945 NetworkEmulateNetworkConditions,
1946 [Command("Network.getAllCookies")]
1947 NetworkGetAllCookies,
1948 [Command("Network.getCookies")]
1949 NetworkGetCookies,
1950 [Command("Network.getRequestPostData")]
1951 NetworkGetRequestPostData,
1952 [Command("Network.getResponseBody")]
1953 NetworkGetResponseBody,
1954 [Command("Network.setBypassServiceWorker")]
1955 NetworkSetBypassServiceWorker,
1956 [Command("Network.setCacheDisabled")]
1957 NetworkSetCacheDisabled,
1958 [Command("Network.setCookie")]
1959 NetworkSetCookie,
1960 [Command("Network.setCookies")]
1961 NetworkSetCookies,
1962 [Command("Network.setExtraHTTPHeaders")]
1963 NetworkSetExtraHTTPHeaders,
1964 [Command("Network.setUserAgentOverride")]
1965 NetworkSetUserAgentOverride,
1966 [Command("Network.canClearBrowserCache")]
1967 NetworkCanClearBrowserCache,
1968 [Command("Network.canClearBrowserCookies")]
1969 NetworkCanClearBrowserCookies,
1970 [Command("Network.canEmulateNetworkConditions")]
1971 NetworkCanEmulateNetworkConditions,
1972 [Command("Network.clearAcceptedEncodingsOverride")]
1973 NetworkClearAcceptedEncodingsOverride,
1974 [Command("Network.enableReportingApi")]
1975 NetworkEnableReportingApi,
1976 [Command("Network.getCertificate")]
1977 NetworkGetCertificate,
1978 [Command("Network.getResponseBodyForInterception")]
1979 NetworkGetResponseBodyForInterception,
1980 [Command("Network.getSecurityIsolationStatus")]
1981 NetworkGetSecurityIsolationStatus,
1982 [Command("Network.loadNetworkResource")]
1983 NetworkLoadNetworkResource,
1984 [Command("Network.replayXHR")]
1985 NetworkReplayXHR,
1986 [Command("Network.searchInResponseBody")]
1987 NetworkSearchInResponseBody,
1988 [Command("Network.setAcceptedEncodings")]
1989 NetworkSetAcceptedEncodings,
1990 [Command("Network.setAttachDebugStack")]
1991 NetworkSetAttachDebugStack,
1992 [Command("Network.setBlockedURLs")]
1993 NetworkSetBlockedURLs,
1994 [Command("Network.setCookieControls")]
1995 NetworkSetCookieControls,
1996 [Command("Network.streamResourceContent")]
1997 NetworkStreamResourceContent,
1998 [Command("Network.takeResponseBodyForInterceptionAsStream")]
1999 NetworkTakeResponseBodyForInterceptionAsStream,
2000 [Command("Network.continueInterceptedRequest")]
2001 NetworkContinueInterceptedRequest,
2002 [Command("Network.setRequestInterception")]
2003 NetworkSetRequestInterception,
2004 #region internal commands
2005 CheckNetworkIdle,
2006 MinimizeWindow,
2007 MaximizeWindow,
2008 RestoreWindow,
2009 NotSet,
2010 #endregion internal commands
2011 }
2012 #endregion Puppeteer
2013 #region Google Sheets
2017 public enum GoogleTriggerType
2018 {
2019 Edit,
2020 Open,
2021 Change,
2022 FormSubmit,
2023 TimeBased,
2024 CalendarUpdated,
2025 DocumentUpdated
2026 }
2030 public enum TriggerScheduleType
2031 {
2032 None,
2033 Hourly,
2034 Daily,
2035 Weekly,
2036 Monthly
2037 }
2041 public enum FormatType
2042 {
2043 Bold,
2044 Italic,
2045 Underline,
2046 Strikethrough,
2047 FontSize,
2048 FontFamily,
2049 ForegroundColor,
2050 CellBackgroundColor,
2051 NumberFormat,
2052 HorizontalAlignment,
2053 VerticalAlignment,
2054 TextRotation
2055 }
2059 public enum NumberFormatType
2060 {
2061 TEXT,
2062 NUMBER,
2063 CURRENCY,
2064 DATE,
2065 TIME,
2066 DATE_TIME,
2067 PERCENT,
2068 SCIENTIFIC
2069 }
2073 public enum HorizontalAlignmentType
2074 {
2075 LEFT,
2076 CENTER,
2077 RIGHT
2078 }
2082 public enum VerticalAlignmentType
2083 {
2084 TOP,
2085 MIDDLE,
2086 BOTTOM
2087 }
2091 public enum TextRotationType
2092 {
2093 None, // 0 degrees
2094 TiltUp30, // 30 degrees upward
2095 TiltUp45, // 45 degrees upward
2096 TiltDown30, // 30 degrees downward
2097 TiltDown45, // 45 degrees downward
2098 Vertical, // 90 degrees (stacked text)
2099 UpsideDown,
2100 }
2104 public enum ScriptAccessType
2105 {
2106 ME,
2107 ANYONE,
2108 ANYONE_ANONYMOUS,
2109 DOMAIN
2110 }
2114 public enum ExecuteAsType
2115 {
2116 USER_ACCESSING,
2117 USER_DEPLOYING
2118 }
2119 #endregion Google Sheets
2120 #region Google API
2124 public enum GoogleApi
2125 {
2126 ServiceUsage,
2127 ApiKeys,
2128 Scripts,
2129 Sheets,
2130 Drive
2131 }
2132 #endregion Google API
2133 #region Cryptography
2137 public enum CryptoAlgorithm
2138 {
2139 AES, // Default for Encrypt/Decrypt
2140 RSA,
2141 SHA256, // Default for Hash
2142 SHA256withRSA, // Default for Sign/Verify
2143 ECDSA,
2144 MD5,
2145 PBKDF2
2146 }
2147
2151 public enum CryptoMode
2152 {
2153 GCM, // Default
2154 CBC,
2155 ECB
2156 }
2157
2161 public enum CryptoPadding
2162 {
2163 PKCS7, // Default
2164 NoPadding,
2165 ISO10126
2166 }
2167 #endregion Cryptography
2168 #region GPAL URL
2169 // written by grok, modified by mbv
2173 public enum WebsiteStorageType
2174 {
2175 notSet,
2176 cookie,
2177 localStorage,
2178 sessionStorage,
2179 indexedDb,
2180 cache
2181 }
2182
2186 public enum WebsiteStorageAction
2187 {
2188 notSet,
2189 delete,
2190 get,
2191 set
2192 }
2193 #endregion GPAL URL
2194 #region OCR
2198 public enum OCRLanguage
2199 {
2200 English,
2201 Spanish,
2202 French,
2203 German
2204 }
2205
2211 public enum OCRScanDirection
2212 {
2213 LeftRightTopBottom,
2214 RightLeftTopBottom,
2215 TopBottomLeftRight,
2216 BottomTopLeftRight
2217 }
2218
2222 public enum OCRWhitelist
2223 {
2224 Alphanumeric,
2225 Numeric,
2226 Letters,
2227 Punctuation,
2228 EnglishLetters,
2229 EnglishAlphanumeric,
2230 EnglishNumeric,
2231 SpanishLetters,
2232 SpanishAlphanumeric,
2233 SpanishNumeric,
2234 FrenchLetters,
2235 FrenchAlphanumeric,
2236 FrenchNumeric,
2237 GermanLetters,
2238 GermanAlphanumeric,
2239 GermanNumeric
2240 }
2241
2245 public enum EngineMode : int
2246 {
2250 TesseractOnly = 0,
2251
2255 LstmOnly,
2256
2260 TesseractAndLstm,
2261
2265 Default
2266 }
2267 }
2268 #endregion OCR
2269}
2270
ContentType is a struct that acts like a string but also an enum for some intellisense help....
Definition Enums.cs:188