1{
2 "BindingCall": {
3 "Call": [
4 "f BindingCallFunction",
5 null
6 ]
7 },
8 "Browser": {
9 "extends": [
10 "EventEmitter"
11 ],
12 "Close": [
13 null,
14 "error"
15 ],
16 "Contexts": [
17 null,
18 "[]BrowserContext"
19 ],
20 "IsConnected": [
21 null,
22 "bool"
23 ],
24 "NewContext": [
25 "options ...BrowserNewContextOptions",
26 "(BrowserContext, error)"
27 ],
28 "NewPage": [
29 "options ...BrowserNewContextOptions",
30 "(Page, error)"
31 ],
32 "NewBrowserCDPSession": [
33 null,
34 "(CDPSession, error)"
35 ],
36 "Version": [
37 null,
38 "string"
39 ]
40 },
41 "CDPSession": {
42 "extends": [
43 "EventEmitter"
44 ],
45 "Detach": [
46 null,
47 "error"
48 ],
49 "Send": [
50 "method string, params map[string]interface{}",
51 "(interface{}, error)"
52 ]
53 },
54 "BrowserContext": {
55 "extends": [
56 "EventEmitter"
57 ],
58 "AddCookies": [
59 "cookies ...BrowserContextAddCookiesOptionsCookies",
60 "error"
61 ],
62 "AddInitScript": [
63 "script BrowserContextAddInitScriptOptions",
64 "error"
65 ],
66 "Browser": [
67 null,
68 "Browser"
69 ],
70 "ClearCookies": [
71 null,
72 "error"
73 ],
74 "ClearPermissions": [
75 null,
76 "error"
77 ],
78 "Close": [
79 null,
80 "error"
81 ],
82 "Cookies": [
83 "urls ...string",
84 "([]*BrowserContextCookiesResult, error)"
85 ],
86 "ExpectEvent": [
87 "event string, cb func() error",
88 "(interface{}, error)"
89 ],
90 "ExposeBinding": [
91 "name string, binding BindingCallFunction, handle ...bool",
92 "error"
93 ],
94 "ExposeFunction": [
95 "name string, binding ExposedFunction",
96 "error"
97 ],
98 "GrantPermissions": [
99 "permissions []string, options ...BrowserContextGrantPermissionsOptions",
100 "error"
101 ],
102 "NewCDPSession": [
103 "page Page",
104 "(CDPSession, error)"
105 ],
106 "NewPage": [
107 "options ...BrowserNewPageOptions",
108 "(Page, error)"
109 ],
110 "Pages": [
111 null,
112 "[]Page"
113 ],
114 "SetDefaultNavigationTimeout": [
115 "timeout float64",
116 null
117 ],
118 "SetDefaultTimeout": [
119 "timeout float64",
120 null
121 ],
122 "SetExtraHTTPHeaders": [
123 "headers map[string]string",
124 "error"
125 ],
126 "SetGeolocation": [
127 "gelocation *SetGeolocationOptions",
128 "error"
129 ],
130 "ResetGeolocation": [
131 null,
132 "error"
133 ],
134 "Route": [
135 "url interface{}, handler routeHandler",
136 "error"
137 ],
138 "SetOffline": [
139 "offline bool",
140 "error"
141 ],
142 "StorageState": [
143 "path ...string",
144 "*StorageState, error"
145 ],
146 "Unroute": [
147 "url interface{}, handler ...routeHandler",
148 "error"
149 ],
150 "WaitForEvent": [
151 "event string, predicate ...interface{}",
152 "interface{}"
153 ],
154 "Tracing": [
155 null,
156 "Tracing"
157 ],
158 "BackgroundPages": [
159 null,
160 "[]Page"
161 ]
162 },
163 "Tracing": {
164 "Start": [
165 "options ...TracingStartOptions",
166 "error"
167 ],
168 "Stop": [
169 "options ...TracingStopOptions",
170 "error"
171 ],
172 "StartChunk": [
173 "options ...TracingStartChunkOptions",
174 "error"
175 ],
176 "StopChunk": [
177 "options ...TracingStopChunkOptions",
178 "error"
179 ]
180 },
181 "BrowserType": {
182 "ExecutablePath": [
183 null,
184 "string"
185 ],
186 "Launch": [
187 "options ...BrowserTypeLaunchOptions",
188 "(Browser, error)"
189 ],
190 "LaunchPersistentContext": [
191 "userDataDir string, options ...BrowserTypeLaunchPersistentContextOptions",
192 "(BrowserContext, error)"
193 ],
194 "Name": [
195 null,
196 "string"
197 ],
198 "Connect": [
199 "url string, options ...BrowserTypeConnectOptions",
200 "(Browser, error)"
201 ],
202 "ConnectOverCDP": [
203 "endpointURL string, options ...BrowserTypeConnectOverCDPOptions",
204 "(Browser, error)"
205 ]
206 },
207 "ConsoleMessage": {
208 "Args": [
209 null,
210 "[]JSHandle"
211 ],
212 "Location": [
213 null,
214 "ConsoleMessageLocation"
215 ],
216 "String": [
217 null,
218 "string"
219 ],
220 "Text": [
221 null,
222 "string"
223 ],
224 "Type": [
225 null,
226 "string"
227 ]
228 },
229 "Dialog": {
230 "Accept": [
231 "texts ...string",
232 "error"
233 ],
234 "DefaultValue": [
235 null,
236 "string"
237 ],
238 "Dismiss": [
239 null,
240 "error"
241 ],
242 "Message": [
243 null,
244 "string"
245 ],
246 "Type": [
247 null,
248 "string"
249 ]
250 },
251 "Download": {
252 "Delete": [
253 null,
254 "error"
255 ],
256 "Failure": [
257 null,
258 "(string, error)"
259 ],
260 "Path": [
261 null,
262 "(string, error)"
263 ],
264 "SaveAs": [
265 "path string",
266 "error"
267 ],
268 "String": [
269 null,
270 "string"
271 ],
272 "SuggestedFilename": [
273 null,
274 "string"
275 ],
276 "URL": [
277 null,
278 "string"
279 ],
280 "Page": [
281 null,
282 "Page"
283 ],
284 "Cancel": [
285 null,
286 "error"
287 ]
288 },
289 "ElementHandle": {
290 "extends": [
291 "JSHandle"
292 ],
293 "BoundingBox": [
294 null,
295 "(*Rect, error)"
296 ],
297 "Check": [
298 "options ...ElementHandleCheckOptions",
299 "error"
300 ],
301 "SetChecked": [
302 "checked bool, options ...ElementHandleSetCheckedOptions",
303 "error"
304 ],
305 "Click": [
306 "options ...ElementHandleClickOptions",
307 "error"
308 ],
309 "ContentFrame": [
310 null,
311 "Frame, error"
312 ],
313 "Dblclick": [
314 "options ...ElementHandleDblclickOptions",
315 "error"
316 ],
317 "DispatchEvent": [
318 "typ string, initObjects ...interface{}",
319 "error"
320 ],
321 "EvalOnSelector": [
322 "selector string, expression string, options ...interface{}",
323 "interface{}, error"
324 ],
325 "EvalOnSelectorAll": [
326 "selector string, expression string, options ...interface{}",
327 "interface{}, error"
328 ],
329 "Fill": [
330 "value string, options ...ElementHandleFillOptions",
331 "error"
332 ],
333 "Focus": [
334 null,
335 "error"
336 ],
337 "GetAttribute": [
338 "name string",
339 "(string, error)"
340 ],
341 "Hover": [
342 "options ...ElementHandleHoverOptions",
343 "error"
344 ],
345 "InnerHTML": [
346 null,
347 "string, error"
348 ],
349 "InnerText": [
350 null,
351 "(string, error)"
352 ],
353 "IsChecked": [
354 null,
355 "bool, error"
356 ],
357 "IsDisabled": [
358 null,
359 "bool, error"
360 ],
361 "IsEditable": [
362 null,
363 "bool, error"
364 ],
365 "IsEnabled": [
366 null,
367 "bool, error"
368 ],
369 "IsHidden": [
370 null,
371 "bool, error"
372 ],
373 "IsVisible": [
374 null,
375 "bool, error"
376 ],
377 "OwnerFrame": [
378 null,
379 "(Frame, error)"
380 ],
381 "Press": [
382 "key string, options ...ElementHandlePressOptions",
383 "error"
384 ],
385 "QuerySelector": [
386 "selector string",
387 "(ElementHandle, error)"
388 ],
389 "QuerySelectorAll": [
390 "selector string",
391 "([]ElementHandle, error)"
392 ],
393 "Screenshot": [
394 "options ...ElementHandleScreenshotOptions",
395 "([]byte, error)"
396 ],
397 "ScrollIntoViewIfNeeded": [
398 "options ...ElementHandleScrollIntoViewIfNeededOptions",
399 "error"
400 ],
401 "SelectOption": [
402 "values SelectOptionValues, options ...ElementHandleSelectOptionOptions",
403 "([]string, error)"
404 ],
405 "SelectText": [
406 "options ...ElementHandleSelectTextOptions",
407 "error"
408 ],
409 "SetInputFiles": [
410 "files []InputFile, options ...ElementHandleSetInputFilesOptions",
411 "error"
412 ],
413 "Tap": [
414 "options ...ElementHandleTapOptions",
415 "error"
416 ],
417 "TextContent": [
418 null,
419 "(string, error)"
420 ],
421 "Type": [
422 "value string, options ...ElementHandleTypeOptions",
423 "error"
424 ],
425 "Uncheck": [
426 "options ...ElementHandleUncheckOptions",
427 "error"
428 ],
429 "WaitForElementState": [
430 "state string, options ...ElementHandleWaitForElementStateOptions",
431 "error"
432 ],
433 "WaitForSelector": [
434 "selector string, options ...ElementHandleWaitForSelectorOptions",
435 "(ElementHandle, error)"
436 ],
437 "InputValue": [
438 "options ...ElementHandleInputValueOptions",
439 "(string, error)"
440 ]
441 },
442 "EventEmitter": {
443 "Emit": [
444 "name string, payload ...interface{}",
445 null
446 ],
447 "ListenerCount": [
448 "name string",
449 "int"
450 ],
451 "On": [
452 "name string, handler interface{}",
453 null
454 ],
455 "Once": [
456 "name string, handler interface{}",
457 null
458 ],
459 "RemoveListener": [
460 "name string, handler interface{}",
461 null
462 ]
463 },
464 "FileChooser": {
465 "Element": [
466 null,
467 "ElementHandle"
468 ],
469 "IsMultiple": [
470 null,
471 "bool"
472 ],
473 "Page": [
474 null,
475 "Page"
476 ],
477 "SetFiles": [
478 "files []InputFile, options ...ElementHandleSetInputFilesOptions",
479 "error"
480 ]
481 },
482 "Frame": {
483 "SetChecked": [
484 "selector string, checked bool, options ...FrameSetCheckedOptions",
485 "error"
486 ],
487 "AddScriptTag": [
488 "options PageAddScriptTagOptions",
489 "(ElementHandle, error)"
490 ],
491 "AddStyleTag": [
492 "options PageAddStyleTagOptions",
493 "(ElementHandle, error)"
494 ],
495 "Check": [
496 "selector string, options ...FrameCheckOptions",
497 "error"
498 ],
499 "ChildFrames": [
500 null,
501 "[]Frame"
502 ],
503 "Click": [
504 "selector string, options ...PageClickOptions",
505 "error"
506 ],
507 "Content": [
508 null,
509 "(string, error)"
510 ],
511 "Dblclick": [
512 "selector string, options ...FrameDblclickOptions",
513 "error"
514 ],
515 "DispatchEvent": [
516 "selector, typ string, eventInit interface{}, options ...PageDispatchEventOptions",
517 "error"
518 ],
519 "Evaluate": [
520 "expression string, options ...interface{}",
521 "interface{}, error"
522 ],
523 "EvaluateHandle": [
524 "expression string, options ...interface{}",
525 "JSHandle, error"
526 ],
527 "EvalOnSelector": [
528 "selector string, expression string, options ...interface{}",
529 "(interface{}, error)"
530 ],
531 "EvalOnSelectorAll": [
532 "selector string, expression string, options ...interface{}",
533 "(interface{}, error)"
534 ],
535 "Fill": [
536 "selector string, value string, options ...FrameFillOptions",
537 "error"
538 ],
539 "Focus": [
540 "selector string, options ...FrameFocusOptions",
541 "error"
542 ],
543 "FrameElement": [
544 null,
545 "ElementHandle, error"
546 ],
547 "GetAttribute": [
548 "selector string, name string, options ...PageGetAttributeOptions",
549 "string, error"
550 ],
551 "Goto": [
552 "url string, options ...PageGotoOptions",
553 "Response, error"
554 ],
555 "Hover": [
556 "selector string, options ...PageHoverOptions",
557 "error"
558 ],
559 "InnerHTML": [
560 "selector string, options ...PageInnerHTMLOptions",
561 "string, error"
562 ],
563 "InnerText": [
564 "selector string, options ...PageInnerTextOptions",
565 "string, error"
566 ],
567 "IsDetached": [
568 null,
569 "bool"
570 ],
571 "IsChecked": [
572 "selector string, options ...FrameIsCheckedOptions",
573 "bool, error"
574 ],
575 "IsDisabled": [
576 "selector string, options ...FrameIsDisabledOptions",
577 "bool, error"
578 ],
579 "IsEditable": [
580 "selector string, options ...FrameIsEditableOptions",
581 "bool, error"
582 ],
583 "IsEnabled": [
584 "selector string, options ...FrameIsEnabledOptions",
585 "bool, error"
586 ],
587 "IsHidden": [
588 "selector string, options ...FrameIsHiddenOptions",
589 "bool, error"
590 ],
591 "IsVisible": [
592 "selector string, options ...FrameIsVisibleOptions",
593 "bool, error"
594 ],
595 "Locator": [
596 "selector string, options ...FrameLocatorOptions",
597 "Locator, error"
598 ],
599 "Name": [
600 null,
601 "string"
602 ],
603 "Page": [
604 null,
605 "Page"
606 ],
607 "ParentFrame": [
608 null,
609 "Frame"
610 ],
611 "Press": [
612 "selector, key string, options ...PagePressOptions",
613 "error"
614 ],
615 "QuerySelector": [
616 "selector string",
617 "(ElementHandle, error)"
618 ],
619 "QuerySelectorAll": [
620 "selector string",
621 "([]ElementHandle, error)"
622 ],
623 "SetContent": [
624 "content string, options ...PageSetContentOptions",
625 "error"
626 ],
627 "SelectOption": [
628 "selector string, values SelectOptionValues, options ...FrameSelectOptionOptions",
629 "([]string, error)"
630 ],
631 "SetInputFiles": [
632 "selector string, files []InputFile, options ...FrameSetInputFilesOptions",
633 "error"
634 ],
635 "Tap": [
636 "selector string, options ...FrameTapOptions",
637 "error"
638 ],
639 "TextContent": [
640 "selector string, options ...FrameTextContentOptions",
641 "string, error"
642 ],
643 "Title": [
644 null,
645 "string, error"
646 ],
647 "Type": [
648 "selector, text string, options ...PageTypeOptions",
649 "error"
650 ],
651 "URL": [
652 null,
653 "string"
654 ],
655 "Uncheck": [
656 "selector string, options ...FrameUncheckOptions",
657 "error"
658 ],
659 "WaitForEvent": [
660 "event string, predicate ...interface{}",
661 "interface{}"
662 ],
663 "WaitForFunction": [
664 "expression string, arg interface{}, options ...FrameWaitForFunctionOptions",
665 "(JSHandle, error)"
666 ],
667 "WaitForLoadState": [
668 "given ...string",
669 null
670 ],
671 "WaitForNavigation": [
672 "options ...PageWaitForNavigationOptions",
673 "(Response, error)"
674 ],
675 "WaitForURL": [
676 "url string, options ...FrameWaitForURLOptions",
677 "error"
678 ],
679 "WaitForSelector": [
680 "selector string, options ...PageWaitForSelectorOptions",
681 "(ElementHandle, error)"
682 ],
683 "WaitForTimeout": [
684 "timeout float64",
685 null
686 ],
687 "InputValue": [
688 "selector string, options ...FrameInputValueOptions",
689 "(string, error)"
690 ],
691 "DragAndDrop": [
692 "source, target string, options ...FrameDragAndDropOptions",
693 "error"
694 ]
695 },
696 "JSHandle": {
697 "AsElement": [
698 null,
699 "ElementHandle"
700 ],
701 "Dispose": [
702 null,
703 "error"
704 ],
705 "Evaluate": [
706 "expression string, options ...interface{}",
707 "interface{}, error"
708 ],
709 "EvaluateHandle": [
710 "expression string, options ...interface{}",
711 "JSHandle, error"
712 ],
713 "GetProperties": [
714 null,
715 "map[string]JSHandle, error"
716 ],
717 "GetProperty": [
718 "name string",
719 "JSHandle, error"
720 ],
721 "JSONValue": [
722 null,
723 "interface{}, error"
724 ],
725 "String": [
726 null,
727 "string"
728 ]
729 },
730 "Keyboard": {
731 "Down": [
732 "key string",
733 "error"
734 ],
735 "InsertText": [
736 "text string",
737 "error"
738 ],
739 "Press": [
740 "key string, options ...KeyboardPressOptions",
741 "error"
742 ],
743 "Type": [
744 "text string, options ...KeyboardTypeOptions",
745 "error"
746 ],
747 "Up": [
748 "key string",
749 "error"
750 ]
751 },
752 "Locator": {
753 "AllInnerTexts": [
754 null,
755 "[]string, error"
756 ],
757 "AllTextContents": [
758 null,
759 "[]string, error"
760 ],
761 "BoundingBox": [
762 "options ...LocatorBoundingBoxOptions",
763 "*Rect, error"
764 ],
765 "Check": [
766 "options ...FrameCheckOptions",
767 "error"
768 ],
769 "Click": [
770 "options ...PageClickOptions",
771 "error"
772 ],
773 "Count": [
774 null,
775 "int, error"
776 ],
777 "Dblclick": [
778 "options ...FrameDblclickOptions",
779 "error"
780 ],
781 "DispatchEvent": [
782 "typ string, eventInit interface{}, options ...PageDispatchEventOptions",
783 "error"
784 ],
785 "DragTo": [
786 "target Locator, options ...FrameDragAndDropOptions",
787 "error"
788 ],
789 "ElementHandle": [
790 "options ...LocatorElementHandleOptions",
791 "ElementHandle, error"
792 ],
793 "ElementHandles": [
794 null,
795 "[]ElementHandle, error"
796 ],
797 "Evaluate": [
798 "expression string, arg interface{}, options ...LocatorEvaluateOptions",
799 "interface{}, error"
800 ],
801 "EvaluateAll": [
802 "expression string, options ...interface{}",
803 "interface{}, error"
804 ],
805 "EvaluateHandle": [
806 "expression string, arg interface{}, options ...LocatorEvaluateHandleOptions",
807 "interface{}, error"
808 ],
809 "Fill": [
810 "value string, options ...FrameFillOptions",
811 "error"
812 ],
813 "First": [
814 null,
815 "Locator, error"
816 ],
817 "Focus": [
818 "options ...FrameFocusOptions",
819 "error"
820 ],
821 "GetAttribute": [
822 "name string, options ...PageGetAttributeOptions",
823 "string, error"
824 ],
825 "Highlight": [
826 null,
827 "error"
828 ],
829 "Hover": [
830 "options ...PageHoverOptions",
831 "error"
832 ],
833 "InnerHTML": [
834 "options ...PageInnerHTMLOptions",
835 "string, error"
836 ],
837 "InnerText": [
838 "options ...PageInnerTextOptions",
839 "string, error"
840 ],
841 "InputValue": [
842 "options ...FrameInputValueOptions",
843 "string, error"
844 ],
845 "IsChecked": [
846 "options ...FrameIsCheckedOptions",
847 "bool, error"
848 ],
849 "IsDisabled":[
850 "options ...FrameIsDisabledOptions",
851 "bool, error"
852 ],
853 "IsEditable": [
854 "options ...FrameIsEditableOptions",
855 "bool, error"
856 ],
857 "IsEnabled": [
858 "options ...FrameIsEnabledOptions",
859 "bool, error"
860 ],
861 "IsHidden": [
862 "options ...FrameIsHiddenOptions",
863 "bool, error"
864 ],
865 "IsVisible": [
866 "options ...FrameIsVisibleOptions",
867 "bool, error"
868 ],
869 "Last": [
870 null,
871 "Locator, error"
872 ],
873 "Locator": [
874 "selector string",
875 "Locator, error"
876 ],
877 "Nth": [
878 "index int",
879 "Locator, error"
880 ],
881 "Page": [
882 null,
883 "Page"
884 ],
885 "Press": [
886 "key string, options ...PagePressOptions",
887 "error"
888 ],
889 "Screenshot": [
890 "options ...LocatorScreenshotOptions",
891 "[]byte, error"
892 ],
893 "ScrollIntoViewIfNeeded": [
894 "options ...LocatorScrollIntoViewIfNeededOptions",
895 "error"
896 ],
897 "SelectOption": [
898 "values SelectOptionValues, options ...FrameSelectOptionOptions",
899 "[]string, error"
900 ],
901 "SelectText": [
902 "options ...LocatorSelectTextOptions",
903 "error"
904 ],
905 "SetChecked": [
906 "checked bool, options ...FrameSetCheckedOptions",
907 "error"
908 ],
909 "SetInputFiles": [
910 "files []InputFile, options ...FrameSetInputFilesOptions",
911 "error"
912 ],
913 "Tap": [
914 "options ...FrameTapOptions",
915 "error"
916 ],
917 "TextContent": [
918 "options ...FrameTextContentOptions",
919 "string, error"
920 ],
921 "Type": [
922 "text string, options ...PageTypeOptions",
923 "error"
924 ],
925 "Uncheck": [
926 "options ...FrameUncheckOptions",
927 "error"
928 ],
929 "WaitFor": [
930 "options ...PageWaitForSelectorOptions",
931 "error"
932 ]
933 },
934 "Mouse": {
935 "Click": [
936 "x, y float64, options ...MouseClickOptions",
937 "error"
938 ],
939 "Dblclick": [
940 "x, y float64, options ...MouseDblclickOptions",
941 "error"
942 ],
943 "Down": [
944 "options ...MouseDownOptions",
945 "error"
946 ],
947 "Move": [
948 "x float64, y float64, options ...MouseMoveOptions",
949 "error"
950 ],
951 "Up": [
952 "options ...MouseUpOptions",
953 "error"
954 ]
955 },
956 "Page": {
957 "extends": [
958 "EventEmitter"
959 ],
960 "SetChecked": [
961 "selector string, checked bool, options ...FrameSetCheckedOptions",
962 "error"
963 ],
964 "Mouse": [
965 null,
966 "Mouse"
967 ],
968 "Keyboard": [
969 null,
970 "Keyboard"
971 ],
972 "Touchscreen": [
973 null,
974 "Touchscreen"
975 ],
976 "AddInitScript": [
977 "script PageAddInitScriptOptions",
978 "error"
979 ],
980 "AddScriptTag": [
981 "options PageAddScriptTagOptions",
982 "(ElementHandle, error)"
983 ],
984 "AddStyleTag": [
985 "options PageAddStyleTagOptions",
986 "(ElementHandle, error)"
987 ],
988 "BringToFront": [
989 null,
990 "error"
991 ],
992 "Check": [
993 "selector string, options ...FrameCheckOptions",
994 "error"
995 ],
996 "Click": [
997 "selector string, options ...PageClickOptions",
998 "error"
999 ],
1000 "Close": [
1001 "options ...PageCloseOptions",
1002 "error"
1003 ],
1004 "Content": [
1005 null,
1006 "string, error"
1007 ],
1008 "Context": [
1009 null,
1010 "BrowserContext"
1011 ],
1012 "Dblclick": [
1013 "expression string, options ...FrameDblclickOptions",
1014 "error"
1015 ],
1016 "DispatchEvent": [
1017 "selector string, typ string, options ...PageDispatchEventOptions",
1018 "error"
1019 ],
1020 "ExposeBinding": [
1021 "name string, binding BindingCallFunction, handle ...bool",
1022 "error"
1023 ],
1024 "ExposeFunction": [
1025 "name string, binding ExposedFunction",
1026 "error"
1027 ],
1028 "EmulateMedia": [
1029 "options ...PageEmulateMediaOptions",
1030 "error"
1031 ],
1032 "Evaluate": [
1033 "expression string, options ...interface{}",
1034 "interface{}, error"
1035 ],
1036 "EvaluateHandle": [
1037 "expression string, options ...interface{}",
1038 "JSHandle, error"
1039 ],
1040 "EvalOnSelector": [
1041 "selector string, expression string, options ...interface{}",
1042 "interface{}, error"
1043 ],
1044 "EvalOnSelectorAll": [
1045 "selector string, expression string, options ...interface{}",
1046 "interface{}, error"
1047 ],
1048 "ExpectConsoleMessage": [
1049 "cb func() error",
1050 "ConsoleMessage, error"
1051 ],
1052 "ExpectDownload": [
1053 "cb func() error",
1054 "Download, error"
1055 ],
1056 "ExpectEvent": [
1057 "event string, cb func() error, predicates ...interface{}",
1058 "interface{}, error"
1059 ],
1060 "ExpectFileChooser": [
1061 "cb func() error",
1062 "FileChooser, error"
1063 ],
1064 "ExpectLoadState": [
1065 "state string, cb func() error",
1066 "error"
1067 ],
1068 "ExpectNavigation": [
1069 "cb func() error, options ...PageWaitForNavigationOptions",
1070 "Response, error"
1071 ],
1072 "ExpectPopup": [
1073 "cb func() error",
1074 "Page, error"
1075 ],
1076 "ExpectRequest": [
1077 "url interface{}, cb func() error, options ...interface{}",
1078 "Request, error"
1079 ],
1080 "ExpectResponse": [
1081 "url interface{}, cb func() error, options ...interface{}",
1082 "Response, error"
1083 ],
1084 "ExpectWorker": [
1085 "cb func() error",
1086 "Worker, error"
1087 ],
1088 "ExpectedDialog": [
1089 "cb func() error",
1090 "Dialog, error"
1091 ],
1092 "Fill": [
1093 "selector, text string, options ...FrameFillOptions",
1094 "error"
1095 ],
1096 "Focus": [
1097 "expression string, options ...FrameFocusOptions",
1098 "error"
1099 ],
1100 "Frame": [
1101 "options PageFrameOptions",
1102 "Frame"
1103 ],
1104 "Frames": [
1105 null,
1106 "[]Frame"
1107 ],
1108 "GetAttribute": [
1109 "selector string, name string, options ...PageGetAttributeOptions",
1110 "(string, error)"
1111 ],
1112 "GoBack": [
1113 "options ...PageGoBackOptions",
1114 "Response, error"
1115 ],
1116 "GoForward": [
1117 "options ...PageGoForwardOptions",
1118 "(Response, error)"
1119 ],
1120 "Goto": [
1121 "url string, options ...PageGotoOptions",
1122 "(Response, error)"
1123 ],
1124 "Hover": [
1125 "selector string, options ...PageHoverOptions",
1126 "error"
1127 ],
1128 "InnerHTML": [
1129 "selector string, options ...PageInnerHTMLOptions",
1130 "(string, error)"
1131 ],
1132 "InnerText": [
1133 "selector string, options ...PageInnerTextOptions",
1134 "(string, error)"
1135 ],
1136 "IsClosed": [
1137 null,
1138 "bool"
1139 ],
1140 "IsChecked": [
1141 "selector string, options ...FrameIsCheckedOptions",
1142 "bool, error"
1143 ],
1144 "IsDisabled": [
1145 "selector string, options ...FrameIsDisabledOptions",
1146 "bool, error"
1147 ],
1148 "IsEditable": [
1149 "selector string, options ...FrameIsEditableOptions",
1150 "bool, error"
1151 ],
1152 "IsEnabled": [
1153 "selector string, options ...FrameIsEnabledOptions",
1154 "bool, error"
1155 ],
1156 "IsHidden": [
1157 "selector string, options ...FrameIsHiddenOptions",
1158 "bool, error"
1159 ],
1160 "IsVisible": [
1161 "selector string, options ...FrameIsVisibleOptions",
1162 "bool, error"
1163 ],
1164 "Locator": [
1165 "selector string, options ...PageLocatorOptions",
1166 "Locator, error"
1167 ],
1168 "MainFrame": [
1169 null,
1170 "Frame"
1171 ],
1172 "Opener": [
1173 null,
1174 "Page, error"
1175 ],
1176 "PDF": [
1177 "options ...PagePdfOptions",
1178 "[]byte, error"
1179 ],
1180 "Press": [
1181 "selector, key string, options ...PagePressOptions",
1182 "error"
1183 ],
1184 "QuerySelector": [
1185 "selector string",
1186 "ElementHandle, error"
1187 ],
1188 "QuerySelectorAll": [
1189 "selector string",
1190 "[]ElementHandle, error"
1191 ],
1192 "Reload": [
1193 "options ...PageReloadOptions",
1194 "Response, error"
1195 ],
1196 "Route": [
1197 "url interface{}, handler routeHandler",
1198 "error"
1199 ],
1200 "Screenshot": [
1201 "options ...PageScreenshotOptions",
1202 "([]byte, error)"
1203 ],
1204 "SelectOption": [
1205 "selector string, values SelectOptionValues, options ...FrameSelectOptionOptions",
1206 "([]string, error)"
1207 ],
1208 "SetContent": [
1209 "content string, options ...PageSetContentOptions",
1210 "error"
1211 ],
1212 "SetDefaultNavigationTimeout": [
1213 "timeout float64",
1214 null
1215 ],
1216 "SetDefaultTimeout": [
1217 "timeout float64",
1218 null
1219 ],
1220 "SetExtraHTTPHeaders": [
1221 "headers map[string]string",
1222 "error"
1223 ],
1224 "SetInputFiles": [
1225 "selector string, files []InputFile, options ...FrameSetInputFilesOptions",
1226 "error"
1227 ],
1228 "SetViewportSize": [
1229 "width, height int",
1230 "error"
1231 ],
1232 "Tap": [
1233 "selector string, options ...FrameTapOptions",
1234 "error"
1235 ],
1236 "TextContent": [
1237 "selector string, options ...FrameTextContentOptions",
1238 "(string, error)"
1239 ],
1240 "Title": [
1241 null,
1242 "(string, error)"
1243 ],
1244 "Type": [
1245 "selector, text string, options ...PageTypeOptions",
1246 "error"
1247 ],
1248 "URL": [
1249 null,
1250 "string"
1251 ],
1252 "Uncheck": [
1253 "selector string, options ...FrameUncheckOptions",
1254 "error"
1255 ],
1256 "Unroute": [
1257 "url interface{}, handler ...routeHandler",
1258 "error"
1259 ],
1260 "Video": [
1261 null,
1262 "Video"
1263 ],
1264 "ViewportSize": [
1265 null,
1266 "ViewportSize"
1267 ],
1268 "WaitForEvent": [
1269 "event string, predicate ...interface{}",
1270 "interface{}"
1271 ],
1272 "WaitForFunction": [
1273 "expression string, arg interface{}, options ...FrameWaitForFunctionOptions",
1274 "(JSHandle, error)"
1275 ],
1276 "WaitForLoadState": [
1277 "state ...string",
1278 null
1279 ],
1280 "WaitForNavigation": [
1281 "options ...PageWaitForNavigationOptions",
1282 "(Response, error)"
1283 ],
1284 "WaitForRequest": [
1285 "url interface{}, options ...interface{}",
1286 "Request"
1287 ],
1288 "WaitForResponse": [
1289 "url interface{}, options ...interface{}",
1290 "Response"
1291 ],
1292 "WaitForSelector": [
1293 "selector string, options ...PageWaitForSelectorOptions",
1294 "(ElementHandle, error)"
1295 ],
1296 "WaitForTimeout": [
1297 "timeout float64",
1298 null
1299 ],
1300 "Workers": [
1301 null,
1302 "[]Worker"
1303 ],
1304 "DragAndDrop": [
1305 "source, target string, options ...FrameDragAndDropOptions",
1306 "error"
1307 ],
1308 "Pause": [
1309 null,
1310 "error"
1311 ],
1312 "InputValue": [
1313 "selector string, options ...FrameInputValueOptions",
1314 "(string, error)"
1315 ],
1316 "WaitForURL": [
1317 "url string, options ...FrameWaitForURLOptions",
1318 "error"
1319 ]
1320 },
1321 "Request": {
1322 "AllHeaders": [
1323 null,
1324 "map[string]string, error"
1325 ],
1326 "HeadersArray": [
1327 null,
1328 "HeadersArray, error"
1329 ],
1330 "HeaderValue": [
1331 "name string",
1332 "string, error"
1333 ],
1334 "HeaderValues": [
1335 "name string",
1336 "[]string, error"
1337 ],
1338 "Failure": [
1339 null,
1340 "*RequestFailure"
1341 ],
1342 "Frame": [
1343 null,
1344 "Frame"
1345 ],
1346 "Headers": [
1347 null,
1348 "map[string]string"
1349 ],
1350 "IsNavigationRequest": [
1351 null,
1352 "bool"
1353 ],
1354 "Method": [
1355 null,
1356 "string"
1357 ],
1358 "PostData": [
1359 null,
1360 "(string, error)"
1361 ],
1362 "PostDataBuffer": [
1363 null,
1364 "([]byte, error)"
1365 ],
1366 "PostDataJSON": [
1367 "v interface{}",
1368 "error"
1369 ],
1370 "RedirectedFrom": [
1371 null,
1372 "Request"
1373 ],
1374 "RedirectedTo": [
1375 null,
1376 "Request"
1377 ],
1378 "ResourceType": [
1379 null,
1380 "string"
1381 ],
1382 "Response": [
1383 null,
1384 "(Response, error)"
1385 ],
1386 "Timing": [
1387 null,
1388 "*ResourceTiming"
1389 ],
1390 "URL": [
1391 null,
1392 "string"
1393 ],
1394 "Sizes": [
1395 null,
1396 "(*RequestSizesResult, error)"
1397 ]
1398 },
1399 "Response": {
1400 "AllHeaders": [
1401 null,
1402 "map[string]string, error"
1403 ],
1404 "HeadersArray": [
1405 null,
1406 "HeadersArray, error"
1407 ],
1408 "HeaderValue": [
1409 "name string",
1410 "string, error"
1411 ],
1412 "HeaderValues": [
1413 "name string",
1414 "[]string, error"
1415 ],
1416 "Body": [
1417 null,
1418 "[]byte, error"
1419 ],
1420 "Finished": [
1421 null,
1422 null
1423 ],
1424 "Frame": [
1425 null,
1426 "Frame"
1427 ],
1428 "Headers": [
1429 null,
1430 "map[string]string"
1431 ],
1432 "JSON": [
1433 "v interface{}",
1434 "error"
1435 ],
1436 "Ok": [
1437 null,
1438 "bool"
1439 ],
1440 "Request": [
1441 null,
1442 "Request"
1443 ],
1444 "Status": [
1445 null,
1446 "int"
1447 ],
1448 "StatusText": [
1449 null,
1450 "string"
1451 ],
1452 "Text": [
1453 null,
1454 "(string, error)"
1455 ],
1456 "URL": [
1457 null,
1458 "string"
1459 ],
1460 "SecurityDetails": [
1461 null,
1462 "(*ResponseSecurityDetailsResult, error)"
1463 ],
1464 "ServerAddr": [
1465 null,
1466 "(*ResponseServerAddrResult, error)"
1467 ]
1468 },
1469 "Route": {
1470 "Abort": [
1471 "errorCode ...string",
1472 "error"
1473 ],
1474 "Continue": [
1475 "options ...RouteContinueOptions",
1476 "error"
1477 ],
1478 "Fulfill": [
1479 "options RouteFulfillOptions",
1480 "error"
1481 ],
1482 "Request": [
1483 null,
1484 "Request"
1485 ]
1486 },
1487 "Touchscreen": {
1488 "Tap": [
1489 "x int, y int",
1490 "error"
1491 ]
1492 },
1493 "WebSocket": {
1494 "extends": [
1495 "EventEmitter"
1496 ],
1497 "IsClosed": [
1498 null,
1499 "bool"
1500 ],
1501 "URL": [
1502 null,
1503 "string"
1504 ],
1505 "WaitForEvent": [
1506 "event string, predicate ...interface{}",
1507 "interface{}"
1508 ]
1509 },
1510 "Video": {
1511 "Path": [
1512 null,
1513 "(string, error)"
1514 ],
1515 "Delete": [
1516 null,
1517 "error"
1518 ],
1519 "SaveAs": [
1520 "path string",
1521 "error"
1522 ]
1523 },
1524 "Worker": {
1525 "extends": [
1526 "EventEmitter"
1527 ],
1528 "Evaluate": [
1529 "expression string, options ...interface{}",
1530 "interface{}, error"
1531 ],
1532 "EvaluateHandle": [
1533 "expression string, options ...interface{}",
1534 "(JSHandle, error)"
1535 ],
1536 "URL": [
1537 null,
1538 "string"
1539 ],
1540 "WaitForEvent": [
1541 "event string, predicate ...interface{}",
1542 "interface{}"
1543 ],
1544 "ExpectEvent": [
1545 "event string, cb func() error, predicates ...interface{}",
1546 "(interface{}, error)"
1547 ]
1548 }
1549}
View as plain text