PuppeteerSharp.xml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 |
<?xml version="1.0"?>
<doc> <assembly> <name>PuppeteerSharp</name> </assembly> <members> <member name="T:PuppeteerSharp.AddTagOptions"> <summary> Options used by <see cref="M:PuppeteerSharp.Page.AddScriptTagAsync(PuppeteerSharp.AddTagOptions)"/> & <see cref="M:PuppeteerSharp.Page.AddStyleTagAsync(PuppeteerSharp.AddTagOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.AddTagOptions.Url"> <summary> Url of a script to be added </summary> </member> <member name="P:PuppeteerSharp.AddTagOptions.Path"> <summary> Path to the JavaScript file to be injected into frame. If its a relative path, then it is resolved relative to <see cref="M:System.IO.Directory.GetCurrentDirectory"/> </summary> </member> <member name="P:PuppeteerSharp.AddTagOptions.Content"> <summary> Raw JavaScript content to be injected into frame </summary> </member> <member name="P:PuppeteerSharp.AddTagOptions.Type"> <summary> Script type. Use <c>module</c> in order to load a Javascript ES6 module </summary> <seealso href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script"/> </member> <member name="T:PuppeteerSharp.BoundingBox"> <summary> Bounding box data returned by <see cref="M:PuppeteerSharp.ElementHandle.BoundingBoxAsync"/>. </summary> </member> <member name="P:PuppeteerSharp.BoundingBox.X"> <summary> The x coordinate of the element in pixels. </summary> <value>The x.</value> </member> <member name="P:PuppeteerSharp.BoundingBox.Y"> <summary> The y coordinate of the element in pixels. </summary> <value>The y.</value> </member> <member name="P:PuppeteerSharp.BoundingBox.Width"> <summary> The width of the element in pixels. </summary> <value>The width.</value> </member> <member name="P:PuppeteerSharp.BoundingBox.Height"> <summary> The height of the element in pixels. </summary> <value>The height.</value> </member> <member name="M:PuppeteerSharp.BoundingBox.#ctor(System.Decimal,System.Decimal,System.Decimal,System.Decimal)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.BoundingBox"/> class. </summary> <param name="x">The x coordinate.</param> <param name="y">The y coordinate.</param> <param name="width">Width.</param> <param name="height">Height.</param> </member> <member name="M:PuppeteerSharp.BoundingBox.Equals(System.Object)"> <inheritdoc/> </member> <member name="M:PuppeteerSharp.BoundingBox.GetHashCode"> <inheritdoc/> </member> <member name="T:PuppeteerSharp.BoxModel"> <summary> Represents boxes of the element. </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Content"> <summary> Gets the Content box </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Padding"> <summary> Gets the Padding box </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Border"> <summary> Gets the Border box </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Margin"> <summary> Gets the Margin box </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Width"> <summary> Gets the element's width </summary> </member> <member name="P:PuppeteerSharp.BoxModel.Height"> <summary> Gets the element's height </summary> </member> <member name="T:PuppeteerSharp.BoxModelPoint"> <summary> Represents a <see cref="T:PuppeteerSharp.BoxModel"/> point </summary> </member> <member name="P:PuppeteerSharp.BoxModelPoint.X"> <summary> Gets the X point </summary> </member> <member name="P:PuppeteerSharp.BoxModelPoint.Y"> <summary> Gets the y point </summary> </member> <member name="T:PuppeteerSharp.Browser"> <summary> Provides methods to interact with a browser in Chromium. </summary> <example> An example of using a <see cref="T:PuppeteerSharp.Browser"/> to create a <see cref="T:PuppeteerSharp.Page"/>: <code> <![CDATA[ var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); await page.GoToAsync("https://example.com"); await browser.CloseAsync(); ]]> </code> An example of disconnecting from and reconnecting to a <see cref="T:PuppeteerSharp.Browser"/>: <code> <![CDATA[ var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var browserWSEndpoint = browser.WebSocketEndpoint; browser.Disconnect(); var browser2 = await Puppeteer.ConnectAsync(new ConnectOptions { BrowserWSEndpoint = browserWSEndpoint }); await browser2.CloseAsync(); ]]> </code> </example> </member> <member name="M:PuppeteerSharp.Browser.#ctor(PuppeteerSharp.Connection,System.String[],System.Boolean,System.Boolean,System.Diagnostics.Process,System.Func{System.Threading.Tasks.Task})"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.Browser"/> class. </summary> <param name="connection">The connection</param> <param name="contextIds">The context ids></param> <param name="ignoreHTTPSErrors">The option to ignoreHTTPSErrors</param> <param name="setDefaultViewport">The option to setDefaultViewport</param> <param name="process">The chrome process</param> <param name="closeCallBack">An async function called before closing</param> </member> <member name="E:PuppeteerSharp.Browser.Closed"> <summary> </summary> </member> <member name="E:PuppeteerSharp.Browser.Disconnected"> <summary> Raised when puppeteer gets disconnected from the Chromium instance. This might happen because one of the following - Chromium is closed or crashed - <see cref="M:PuppeteerSharp.Browser.Disconnect"/> method was called </summary> </member> <member name="E:PuppeteerSharp.Browser.TargetChanged"> <summary> Raised when the url of a target changes </summary> </member> <member name="E:PuppeteerSharp.Browser.TargetCreated"> <summary> Raised when a target is created, for example when a new page is opened by <c>window.open</c> <see href="https://developer.mozilla.org/en-US/docs/Web/API/Window/open"/> or <see cref="M:PuppeteerSharp.Browser.NewPageAsync"/>. </summary> </member> <member name="E:PuppeteerSharp.Browser.TargetDestroyed"> <summary> Raised when a target is destroyed, for example when a page is closed </summary> </member> <member name="P:PuppeteerSharp.Browser.WebSocketEndpoint"> <summary> Gets the Browser websocket url </summary> <remarks> Browser websocket endpoint which can be used as an argument to <see cref="M:PuppeteerSharp.Puppeteer.ConnectAsync(PuppeteerSharp.ConnectOptions,Microsoft.Extensions.Logging.ILoggerFactory)"/>. The format is <c>ws://${host}:${port}/devtools/browser/[id]</c> You can find the <c>webSocketDebuggerUrl</c> from <c>http://${host}:${port}/json/version</c>. Learn more about the devtools protocol <see href="https://chromedevtools.github.io/devtools-protocol"/> and the browser endpoint <see href="https://chromedevtools.github.io/devtools-protocol/#how-do-i-access-the-browser-target"/> </remarks> </member> <member name="P:PuppeteerSharp.Browser.Process"> <summary> Gets the spawned browser process. Returns <c>null</c> if the browser instance was created with <see cref="M:PuppeteerSharp.Puppeteer.ConnectAsync(PuppeteerSharp.ConnectOptions,Microsoft.Extensions.Logging.ILoggerFactory)"/> method. </summary> </member> <member name="P:PuppeteerSharp.Browser.IgnoreHTTPSErrors"> <summary> Gets or Sets whether to ignore HTTPS errors during navigation </summary> </member> <member name="P:PuppeteerSharp.Browser.IsClosed"> <summary> Gets a value indicating if the browser is closed </summary> </member> <member name="M:PuppeteerSharp.Browser.NewPageAsync"> <summary> Creates a new page </summary> <returns>Task which resolves to a new <see cref="T:PuppeteerSharp.Page"/> object</returns> </member> <member name="M:PuppeteerSharp.Browser.Targets"> <summary> Returns An Array of all active targets </summary> <returns>An Array of all active targets</returns> </member> <member name="M:PuppeteerSharp.Browser.CreateIncognitoBrowserContextAsync"> <summary> Creates a new incognito browser context. This won't share cookies/cache with other browser contexts. </summary> <returns>Task which resolves to a new <see cref="T:PuppeteerSharp.BrowserContext"/> object</returns> <example> <code> <![CDATA[ using(var browser = await Puppeteer.LaunchAsync(new LaunchOptions())) { // Create a new incognito browser context. var context = await browser.CreateIncognitoBrowserContextAsync(); // Create a new page in a pristine context. var page = await context.NewPageAsync(); // Do stuff await page.GoToAsync("https://example.com"); } ]]> </code> </example> </member> <member name="M:PuppeteerSharp.Browser.BrowserContexts"> <summary> Returns an array of all open <see cref="T:PuppeteerSharp.BrowserContext"/>. In a newly created browser, this will return a single instance of <see cref="T:PuppeteerSharp.BrowserContext"/> </summary> <returns>An array of <see cref="T:PuppeteerSharp.BrowserContext"/> objects</returns> </member> <member name="M:PuppeteerSharp.Browser.PagesAsync"> <summary> Returns a Task which resolves to an array of all open pages. </summary> <returns>Task which resolves to an array of all open pages.</returns> </member> <member name="M:PuppeteerSharp.Browser.GetVersionAsync"> <summary> Gets the browser's version </summary> <returns>For headless Chromium, this is similar to <c>HeadlessChrome/61.0.3153.0</c>. For non-headless, this is similar to <c>Chrome/61.0.3153.0</c></returns> <remarks> the format of <see cref="M:PuppeteerSharp.Browser.GetVersionAsync"/> might change with future releases of Chromium </remarks> </member> <member name="M:PuppeteerSharp.Browser.GetUserAgentAsync"> <summary> Gets the browser's original user agent </summary> <returns>Task which resolves to the browser's original user agent</returns> <remarks> Pages can override browser user agent with <see cref="M:PuppeteerSharp.Page.SetUserAgentAsync(System.String)"/> </remarks> </member> <member name="M:PuppeteerSharp.Browser.Disconnect"> <summary> Disconnects Puppeteer from the browser, but leaves the Chromium process running. After calling <see cref="M:PuppeteerSharp.Browser.Disconnect"/>, the browser object is considered disposed and cannot be used anymore </summary> </member> <member name="M:PuppeteerSharp.Browser.CloseAsync"> <summary> Closes Chromium and all of its pages (if any were opened). The browser object itself is considered disposed and cannot be used anymore </summary> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Browser.Dispose"> <inheritdoc /> </member> <member name="T:PuppeteerSharp.BrowserContext"> <summary> BrowserContexts provide a way to operate multiple independent browser sessions. When a browser is launched, it has a single <see cref="T:PuppeteerSharp.BrowserContext"/> used by default. The method <see cref="M:PuppeteerSharp.Browser.NewPageAsync"/> creates a <see cref="T:PuppeteerSharp.Page"/> in the default <see cref="T:PuppeteerSharp.BrowserContext"/> </summary> </member> <member name="E:PuppeteerSharp.BrowserContext.TargetChanged"> <summary> Raised when the url of a target changes </summary> </member> <member name="E:PuppeteerSharp.BrowserContext.TargetCreated"> <summary> Raised when a target is created, for example when a new page is opened by <c>window.open</c> <see href="https://developer.mozilla.org/en-US/docs/Web/API/Window/open"/> or <see cref="M:PuppeteerSharp.BrowserContext.NewPageAsync"/>. </summary> </member> <member name="E:PuppeteerSharp.BrowserContext.TargetDestroyed"> <summary> Raised when a target is destroyed, for example when a page is closed </summary> </member> <member name="P:PuppeteerSharp.BrowserContext.IsIncognito"> <summary> Returns whether BrowserContext is incognito The default browser context is the only non-incognito browser context </summary> <remarks> The default browser context cannot be closed </remarks> </member> <member name="P:PuppeteerSharp.BrowserContext.Browser"> <summary> Gets the browser this browser context belongs to </summary> </member> <member name="M:PuppeteerSharp.BrowserContext.Targets"> <summary> Gets an array of all active targets inside the browser context </summary> <returns>An array of all active targets inside the browser context</returns> </member> <member name="M:PuppeteerSharp.BrowserContext.NewPageAsync"> <summary> Creates a new page </summary> <returns>Task which resolves to a new <see cref="T:PuppeteerSharp.Page"/> object</returns> </member> <member name="M:PuppeteerSharp.BrowserContext.CloseAsync"> <summary> Closes the browser context. All the targets that belong to the browser context will be closed </summary> <returns>Task</returns> </member> <member name="T:PuppeteerSharp.BrowserFetcher"> <summary> BrowserFetcher can download and manage different versions of Chromium. BrowserFetcher operates on revision strings that specify a precise version of Chromium, e.g. 533271. Revision strings can be obtained from omahaproxy.appspot.com. </summary> <example> Example on how to use BrowserFetcher to download a specific version of Chromium and run Puppeteer against it: <code> var browserFetcher = Puppeteer.CreateBrowserFetcher(); var revisionInfo = await browserFetcher.DownloadAsync(533271); var browser = await await Puppeteer.LaunchAsync(new LaunchOptions { ExecutablePath = revisionInfo.ExecutablePath}); </code> </example> </member> <member name="F:PuppeteerSharp.BrowserFetcher.DefaultRevision"> <summary> Default chromiumg revision. </summary> </member> <member name="P:PuppeteerSharp.BrowserFetcher.DownloadsFolder"> <summary> Gets the downloads folder. </summary> <value>The downloads folder.</value> </member> <member name="P:PuppeteerSharp.BrowserFetcher.DownloadHost"> <summary> A download host to be used. Defaults to https://storage.googleapis.com. </summary> <value>The download host.</value> </member> <member name="P:PuppeteerSharp.BrowserFetcher.Platform"> <summary> Gets the platform. </summary> <value>The platform.</value> </member> <member name="E:PuppeteerSharp.BrowserFetcher.DownloadProgressChanged"> <summary> Occurs when download progress in <see cref="M:PuppeteerSharp.BrowserFetcher.DownloadAsync(System.Int32)"/> changes. </summary> </member> <member name="M:PuppeteerSharp.BrowserFetcher.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.BrowserFetcher"/> class. </summary> </member> <member name="M:PuppeteerSharp.BrowserFetcher.#ctor(PuppeteerSharp.BrowserFetcherOptions)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.BrowserFetcher"/> class. </summary> <param name="options">Fetch options.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.CanDownloadAsync(System.Int32)"> <summary> The method initiates a HEAD request to check if the revision is available. </summary> <returns>Whether the version is available or not.</returns> <param name="revision">A revision to check availability.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.LocalRevisions"> <summary> A list of all revisions available locally on disk. </summary> <returns>The available revisions.</returns> </member> <member name="M:PuppeteerSharp.BrowserFetcher.Remove(System.Int32)"> <summary> Removes a downloaded revision. </summary> <param name="revision">Revision to remove.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.RevisionInfo(System.Int32)"> <summary> Gets the revision info. </summary> <returns>Revision info.</returns> <param name="revision">A revision to get info for.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.DownloadAsync(System.Int32)"> <summary> Downloads the revision. </summary> <returns>Task which resolves to the completed download.</returns> <param name="revision">Revision.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.GetExecutablePath(System.Int32)"> <summary> Gets the executable path for a revision. </summary> <returns>The executable path.</returns> <param name="revision">Revision.</param> </member> <member name="M:PuppeteerSharp.BrowserFetcher.GetExecutablePath(PuppeteerSharp.Platform,System.String)"> <summary> Gets the executable path. </summary> <returns>The executable path.</returns> <param name="platform">Platform.</param> <param name="folderPath">Folder path.</param> </member> <member name="T:PuppeteerSharp.BrowserFetcherOptions"> <summary> Browser fetcher options used to construct a <see cref="T:PuppeteerSharp.BrowserFetcher"/> </summary> </member> <member name="P:PuppeteerSharp.BrowserFetcherOptions.Platform"> <summary> Platform, defaults to currenct platform. </summary> </member> <member name="P:PuppeteerSharp.BrowserFetcherOptions.Path"> <summary> A path for the downloads folder. Defaults to [root]/.local-chromium, where [root] is where the project binaries are located. </summary> </member> <member name="P:PuppeteerSharp.BrowserFetcherOptions.Host"> <summary> A download host to be used. Defaults to https://storage.googleapis.com. </summary> </member> <member name="T:PuppeteerSharp.CDPSession"> <summary> The CDPSession instances are used to talk raw Chrome Devtools Protocol: * Protocol methods can be called with <see cref="M:PuppeteerSharp.CDPSession.SendAsync(System.String,System.Boolean,System.Object)"/> method. * Protocol events, using the <see cref="E:PuppeteerSharp.CDPSession.MessageReceived"/> event. Documentation on DevTools Protocol can be found here: <see href="https://chromedevtools.github.io/devtools-protocol/"/>. <code> <![CDATA[ var client = await Page.Target.CreateCDPSessionAsync(); await client.SendAsync("Animation.enable"); client.MessageReceived += (sender, e) => { if (e.MessageID == "Animation.animationCreated") { Console.WriteLine("Animation created!"); } }; dynamic response = await client.SendAsync("Animation.getPlaybackRate"); Console.WriteLine("playback rate is " + response.playbackRate); await client.SendAsync("Animation.setPlaybackRate", new { playbackRate = Convert.ToInt32(response.playbackRate / 2) }); ]]></code> </summary> </member> <member name="P:PuppeteerSharp.CDPSession.TargetId"> <summary> Gets the target identifier. </summary> <value>The target identifier.</value> </member> <member name="P:PuppeteerSharp.CDPSession.SessionId"> <summary> Gets the session identifier. </summary> <value>The session identifier.</value> </member> <member name="P:PuppeteerSharp.CDPSession.Connection"> <summary> Gets the connection. </summary> <value>The connection.</value> </member> <member name="E:PuppeteerSharp.CDPSession.MessageReceived"> <summary> Occurs when message received from Chromium. </summary> </member> <member name="E:PuppeteerSharp.CDPSession.TracingComplete"> <summary> Occurs when tracing is completed. </summary> </member> <member name="P:PuppeteerSharp.CDPSession.IsClosed"> <summary> Gets or sets a value indicating whether this <see cref="T:PuppeteerSharp.CDPSession"/> is closed. </summary> <value><c>true</c> if is closed; otherwise, <c>false</c>.</value> </member> <member name="M:PuppeteerSharp.CDPSession.DetachAsync"> <summary> Detaches session from target. Once detached, session won't emit any events and can't be used to send messages. </summary> <returns></returns> </member> <member name="M:PuppeteerSharp.CDPSession.Dispose"> <summary> Releases all resource used by the <see cref="T:PuppeteerSharp.CDPSession"/> object by sending a ""Target.closeTarget" using the <see cref="M:PuppeteerSharp.Connection.SendAsync(System.String,System.Object)"/> method. </summary> <remarks>Call <see cref="M:PuppeteerSharp.CDPSession.Dispose"/> when you are finished using the <see cref="T:PuppeteerSharp.CDPSession"/>. The <see cref="M:PuppeteerSharp.CDPSession.Dispose"/> method leaves the <see cref="T:PuppeteerSharp.CDPSession"/> in an unusable state. After calling <see cref="M:PuppeteerSharp.CDPSession.Dispose"/>, you must release all references to the <see cref="T:PuppeteerSharp.CDPSession"/> so the garbage collector can reclaim the memory that the <see cref="T:PuppeteerSharp.CDPSession"/> was occupying.</remarks> </member> <member name="T:PuppeteerSharp.ChromeProcessException"> <summary> Chrome process exception thrown by <see cref="T:PuppeteerSharp.Launcher"/>. </summary> </member> <member name="M:PuppeteerSharp.ChromeProcessException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ChromeProcessException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.ChromeProcessException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ChromeProcessException"/> class. </summary> <param name="message">Message.</param> <param name="innerException">Inner exception.</param> </member> <member name="T:PuppeteerSharp.Connection"> <summary> A connection handles the communication with a Chromium browser </summary> </member> <member name="P:PuppeteerSharp.Connection.Url"> <summary> Gets the WebSocket URL. </summary> <value>The URL.</value> </member> <member name="P:PuppeteerSharp.Connection.Delay"> <summary> Gets the sleep time when a message is received. </summary> <value>The delay.</value> </member> <member name="P:PuppeteerSharp.Connection.WebSocket"> <summary> Gets the WebSocket. </summary> <value>The web socket.</value> </member> <member name="E:PuppeteerSharp.Connection.Closed"> <summary> Occurs when the connection is closed. </summary> </member> <member name="E:PuppeteerSharp.Connection.MessageReceived"> <summary> Occurs when a message from chromium is received. </summary> </member> <member name="P:PuppeteerSharp.Connection.IsClosed"> <summary> Gets or sets a value indicating whether this <see cref="T:PuppeteerSharp.Connection"/> is closed. </summary> <value><c>true</c> if is closed; otherwise, <c>false</c>.</value> </member> <member name="M:PuppeteerSharp.Connection.GetResponseAsync"> <summary> Starts listening the socket </summary> <returns>The start.</returns> </member> <member name="M:PuppeteerSharp.Connection.Dispose"> <summary> Releases all resource used by the <see cref="T:PuppeteerSharp.Connection"/> object. It will raise the <see cref="E:PuppeteerSharp.Connection.Closed"/> event and call <see cref="M:System.Net.WebSockets.WebSocket.CloseAsync(System.Net.WebSockets.WebSocketCloseStatus,System.String,System.Threading.CancellationToken)"/>. </summary> <remarks>Call <see cref="M:PuppeteerSharp.Connection.Dispose"/> when you are finished using the <see cref="T:PuppeteerSharp.Connection"/>. The <see cref="M:PuppeteerSharp.Connection.Dispose"/> method leaves the <see cref="T:PuppeteerSharp.Connection"/> in an unusable state. After calling <see cref="M:PuppeteerSharp.Connection.Dispose"/>, you must release all references to the <see cref="T:PuppeteerSharp.Connection"/> so the garbage collector can reclaim the memory that the <see cref="T:PuppeteerSharp.Connection"/> was occupying.</remarks> </member> <member name="T:PuppeteerSharp.ConnectOptions"> <summary> Options for connecting to an existing browser. </summary> </member> <member name="P:PuppeteerSharp.ConnectOptions.IgnoreHTTPSErrors"> <summary> Whether to ignore HTTPS errors during navigation. Defaults to false. </summary> </member> <member name="P:PuppeteerSharp.ConnectOptions.AppMode"> <summary> If set to true, sets Headless = false, otherwise, enables automation. </summary> </member> <member name="P:PuppeteerSharp.ConnectOptions.BrowserWSEndpoint"> <summary> A browser websocket endpoint to connect to. </summary> </member> <member name="P:PuppeteerSharp.ConnectOptions.SlowMo"> <summary> Slows down Puppeteer operations by the specified amount of milliseconds. Useful so that you can see what is going on. </summary> </member> <member name="P:PuppeteerSharp.ConnectOptions.KeepAliveInterval"> <summary> Keep alive value. </summary> </member> <member name="T:PuppeteerSharp.ConsoleEventArgs"> <summary> <see cref="E:PuppeteerSharp.Page.Console"/> data. </summary> </member> <member name="P:PuppeteerSharp.ConsoleEventArgs.Message"> <summary> Gets the message. </summary> <value>The message.</value> </member> <member name="M:PuppeteerSharp.ConsoleEventArgs.#ctor(PuppeteerSharp.ConsoleMessage)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ConsoleEventArgs"/> class. </summary> <param name="message">Message.</param> </member> <member name="T:PuppeteerSharp.ConsoleMessage"> <summary> ConsoleMessage is part of <see cref="T:PuppeteerSharp.ConsoleEventArgs"/> used by <see cref="E:PuppeteerSharp.Page.Console"/> </summary> </member> <member name="P:PuppeteerSharp.ConsoleMessage.Type"> <summary> Gets the ConsoleMessage type. </summary> <value>ConsoleMessageType.</value> </member> <member name="P:PuppeteerSharp.ConsoleMessage.Text"> <summary> Gets the console text. </summary> <value>The text.</value> </member> <member name="P:PuppeteerSharp.ConsoleMessage.Args"> <summary> Gets the arguments. </summary> <value>The arguments.</value> </member> <member name="M:PuppeteerSharp.ConsoleMessage.#ctor(PuppeteerSharp.ConsoleType,System.String,System.Collections.Generic.IList{PuppeteerSharp.JSHandle})"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ConsoleMessage"/> class. </summary> <param name="type">Type.</param> <param name="text">Text.</param> <param name="args">Arguments.</param> </member> <member name="T:PuppeteerSharp.ConsoleType"> <summary> Console type used on <see cref="T:PuppeteerSharp.ConsoleMessage"/>. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Log"> <summary> Log. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Debug"> <summary> Debug. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Info"> <summary> Info. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Error"> <summary> Error. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Warning"> <summary> Warning. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Dir"> <summary> Dir. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Dirxml"> <summary> Dirxml. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Table"> <summary> Table. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Trace"> <summary> Trace. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Clear"> <summary> Clear. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.StartGroup"> <summary> StartGroup. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.StartGroupCollapsed"> <summary> StartGroupCollapsed. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.EndGroup"> <summary> EndGroup. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Assert"> <summary> Assert. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Profile"> <summary> Profile. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.ProfileEnd"> <summary> ProfileEnd. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Count"> <summary> Count. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.TimeEnd"> <summary> TimeEnd. </summary> </member> <member name="F:PuppeteerSharp.ConsoleType.Verbose"> <summary> Verbose. </summary> </member> <member name="T:PuppeteerSharp.CookieParam"> <summary> Cookie data. </summary> <seealso cref="M:PuppeteerSharp.Page.SetContentAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.DeleteCookieAsync(PuppeteerSharp.CookieParam[])"/> <seealso cref="M:PuppeteerSharp.Page.GetCookiesAsync(System.String[])"/> </member> <member name="P:PuppeteerSharp.CookieParam.Name"> <summary> Gets or sets the name. </summary> <value>The name.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Value"> <summary> Gets or sets the value. </summary> <value>The value.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Domain"> <summary> Gets or sets the domain. </summary> <value>The domain.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Url"> <summary> Gets or sets the URL. </summary> <value>The URL.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Path"> <summary> Gets or sets the path. </summary> <value>The path.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Expires"> <summary> Gets or sets the expiration. </summary> <value>Expiration.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Size"> <summary> Gets or sets the size. </summary> <value>The size.</value> </member> <member name="P:PuppeteerSharp.CookieParam.HttpOnly"> <summary> Gets or sets if it's HTTP only. </summary> <value>Whether it's http only or not.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Secure"> <summary> Gets or sets if it's secure. </summary> <value>Whether it's secure or not.</value> </member> <member name="P:PuppeteerSharp.CookieParam.Session"> <summary> Gets or sets if it's session only. </summary> <value>Whether it's session only or not.</value> </member> <member name="T:PuppeteerSharp.Credentials"> <summary> Options to be used in <see cref="M:PuppeteerSharp.Page.AuthenticateAsync(PuppeteerSharp.Credentials)"/> </summary> </member> <member name="P:PuppeteerSharp.Credentials.Username"> <summary> Gets or sets the username to be used for authentication </summary> </member> <member name="P:PuppeteerSharp.Credentials.Password"> <summary> Gets or sets the password to be used for authentication </summary> </member> <member name="T:PuppeteerSharp.Dialog"> <summary> <see cref="T:PuppeteerSharp.Dialog"/> objects are dispatched by page via the 'dialog' event. </summary> <example> An example of using Dialog class: <code> Page.Dialog += async (sender, e) => { await e.Dialog.Accept(); } await Page.EvaluateExpressionAsync("alert('yo');"); </code> </example> </member> <member name="P:PuppeteerSharp.Dialog.DialogType"> <summary> Dialog's type, can be one of alert, beforeunload, confirm or prompt. </summary> <value>The type of the dialog.</value> </member> <member name="P:PuppeteerSharp.Dialog.DefaultValue"> <summary> If dialog is prompt, returns default prompt value. Otherwise, returns empty string. </summary> <value>The default value.</value> </member> <member name="P:PuppeteerSharp.Dialog.Message"> <summary> A message displayed in the dialog. </summary> <value>The message.</value> </member> <member name="M:PuppeteerSharp.Dialog.#ctor(PuppeteerSharp.CDPSession,PuppeteerSharp.DialogType,System.String,System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.Dialog"/> class. </summary> <param name="client">Client.</param> <param name="type">Type.</param> <param name="message">Message.</param> <param name="defaultValue">Default value.</param> </member> <member name="M:PuppeteerSharp.Dialog.Accept(System.String)"> <summary> Accept the Dialog. </summary> <returns>Task which resolves when the dialog has been accepted.</returns> <param name="promptText">A text to enter in prompt. Does not cause any effects if the dialog's type is not prompt.</param> </member> <member name="M:PuppeteerSharp.Dialog.Dismiss"> <summary> Dismiss the dialog. </summary> <returns>Task which resolves when the dialog has been dismissed.</returns> </member> <member name="T:PuppeteerSharp.DialogEventArgs"> <summary> <see cref="E:PuppeteerSharp.Page.Dialog"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.DialogEventArgs.Dialog"> <summary> Dialog data. </summary> <value>Dialog data.</value> </member> <member name="M:PuppeteerSharp.DialogEventArgs.#ctor(PuppeteerSharp.Dialog)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.DialogEventArgs"/> class. </summary> <param name="dialog">Dialog.</param> </member> <member name="T:PuppeteerSharp.DialogType"> <summary> Dialog type. </summary> <seealso cref="T:PuppeteerSharp.Dialog"/> </member> <member name="F:PuppeteerSharp.DialogType.Alert"> <summary> Alert dialog. </summary> </member> <member name="F:PuppeteerSharp.DialogType.Prompt"> <summary> Prompt dialog. </summary> </member> <member name="F:PuppeteerSharp.DialogType.Confirm"> <summary> Confirm dialog. </summary> </member> <member name="F:PuppeteerSharp.DialogType.BeforeUnload"> <summary> Before unload dialog. </summary> </member> <member name="T:PuppeteerSharp.ElementHandle"> <summary> Inherits from <see cref="T:PuppeteerSharp.JSHandle"/>. It represents an in-page DOM element. ElementHandles can be created by <see cref="M:PuppeteerSharp.Page.QuerySelectorAsync(System.String)"/> or <see cref="M:PuppeteerSharp.Page.QuerySelectorAllAsync(System.String)"/>. </summary> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotAsync(System.String)"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>The task</returns> <param name="file">The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.</param> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotAsync(System.String,PuppeteerSharp.ScreenshotOptions)"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>The task</returns> <param name="file">The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.</param> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotStreamAsync"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the image data.</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotStreamAsync(PuppeteerSharp.ScreenshotOptions)"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the image data.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotDataAsync"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the image data.</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the image data.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotBase64Async"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotBase64Async(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.String"/> containing the image data as base64.</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.ScreenshotBase64Async(PuppeteerSharp.ScreenshotOptions)"> <summary> This method scrolls element into view if needed, and then uses <seealso cref="M:PuppeteerSharp.Page.ScreenshotBase64Async(PuppeteerSharp.ScreenshotOptions)"/> to take a screenshot of the element. If the element is detached from DOM, the method throws an error. </summary> <returns>Task which resolves to a <see cref="T:System.String"/> containing the image data as base64.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.ElementHandle.HoverAsync"> <summary> Scrolls element into view if needed, and then uses <see cref="P:PuppeteerSharp.Page.Mouse"/> to hover over the center of the element. </summary> <returns>Task which resolves when the element is successfully hovered</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.ClickAsync(PuppeteerSharp.Input.ClickOptions)"> <summary> Scrolls element into view if needed, and then uses <see cref="P:PuppeteerSharp.Page.Mouse"/> to click in the center of the element. </summary> <param name="options">click options</param> <exception cref="T:PuppeteerSharp.PuppeteerException">if the element is detached from DOM</exception> <returns>Task which resolves when the element is successfully clicked</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.UploadFileAsync(System.String[])"> <summary> Uploads files </summary> <param name="filePaths">Sets the value of the file input these paths. paths are resolved using <see cref="M:System.IO.Path.GetFullPath(System.String)"/></param> <remarks>This method expects <c>elementHandle</c> to point to an <c>input element</c> <see href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input"/> </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.TapAsync"> <summary> Scrolls element into view if needed, and then uses <see cref="M:PuppeteerSharp.Input.Touchscreen.TapAsync(System.Decimal,System.Decimal)"/> to tap in the center of the element. </summary> <exception cref="T:PuppeteerSharp.PuppeteerException">if the element is detached from DOM</exception> <returns>Task which resolves when the element is successfully tapped</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.FocusAsync"> <summary> Calls <c>focus</c> <see href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus"/> on the element. </summary> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.TypeAsync(System.String,PuppeteerSharp.Input.TypeOptions)"> <summary> Focuses the element, and sends a <c>keydown</c>, <c>keypress</c>/<c>input</c>, and <c>keyup</c> event for each character in the text. </summary> <param name="text">A text to type into a focused element</param> <param name="options">type options</param> <remarks> To press a special key, like <c>Control</c> or <c>ArrowDown</c> use <see cref="M:PuppeteerSharp.ElementHandle.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/> </remarks> <example> <code> elementHandle.TypeAsync("#mytextarea", "Hello"); // Types instantly elementHandle.TypeAsync("#mytextarea", "World", new TypeOptions { Delay = 100 }); // Types slower, like a user </code> An example of typing into a text field and then submitting the form: <code> var elementHandle = await page.GetElementAsync("input"); await elementHandle.TypeAsync("some text"); await elementHandle.PressAsync("Enter"); </code> </example> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"> <summary> Focuses the element, and then uses <see cref="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"/> and <see cref="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"/>. </summary> <param name="key">Name of key to press, such as <c>ArrowLeft</c>. See <see cref="T:PuppeteerSharp.Input.KeyDefinitions"/> for a list of all key names.</param> <param name="options">press options</param> <remarks> If <c>key</c> is a single character and no modifier keys besides <c>Shift</c> are being held down, a <c>keypress</c>/<c>input</c> event will also be generated. The <see cref="P:PuppeteerSharp.Input.DownOptions.Text"/> option can be specified to force an input event to be generated. </remarks> <returns></returns> </member> <member name="M:PuppeteerSharp.ElementHandle.QuerySelectorAsync(System.String)"> <summary> The method runs <c>element.querySelector</c> within the page. If no element matches the selector, the return value resolve to <c>null</c>. </summary> <param name="selector">A selector to query element for</param> <returns>Task which resolves to <see cref="T:PuppeteerSharp.ElementHandle"/> pointing to the frame element</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.QuerySelectorAllAsync(System.String)"> <summary> Runs <c>element.querySelectorAll</c> within the page. If no elements match the selector, the return value resolve to <see cref="M:System.Array.Empty``1"/>. </summary> <param name="selector">A selector to query element for</param> <returns>Task which resolves to ElementHandles pointing to the frame elements</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.QuerySelectorAllHandleAsync(System.String)"> <summary> A utility function to be used with <see cref="M:PuppeteerSharp.Extensions.EvaluateFunctionAsync``1(System.Threading.Tasks.Task{PuppeteerSharp.JSHandle},System.String,System.Object[])"/> </summary> <param name="selector">A selector to query element for</param> <returns>Task which resolves to a <see cref="T:PuppeteerSharp.JSHandle"/> of <c>document.querySelectorAll</c> result</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.XPathAsync(System.String)"> <summary> Evaluates the XPath expression relative to the elementHandle. If there's no such element, the method will resolve to <c>null</c>. </summary> <param name="expression">Expression to evaluate <see href="https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate"/></param> <returns>Task which resolves to an array of <see cref="T:PuppeteerSharp.ElementHandle"/></returns> </member> <member name="M:PuppeteerSharp.ElementHandle.BoundingBoxAsync"> <summary> This method returns the bounding box of the element (relative to the main frame), or null if the element is not visible. </summary> <returns>The BoundingBox task.</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.BoxModelAsync"> <summary> returns boxes of the element, or <c>null</c> if the element is not visible. Box points are sorted clock-wise. </summary> <returns>Task BoxModel task.</returns> </member> <member name="M:PuppeteerSharp.ElementHandle.ContentFrameAsync"> <summary> Content frame for element handles referencing iframe nodes, or null otherwise. </summary> <returns>Resolves to the content frame</returns> </member> <member name="T:PuppeteerSharp.ErrorEventArgs"> <summary> <see cref="E:PuppeteerSharp.Page.Error"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.ErrorEventArgs.Error"> <summary> Gets the error. </summary> <value>The error.</value> </member> <member name="M:PuppeteerSharp.ErrorEventArgs.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ErrorEventArgs"/> class. </summary> <param name="error">Error.</param> </member> <member name="T:PuppeteerSharp.EvaluationFailedException"> <summary> Exception thrown by <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateHandleAsync(System.String,System.Object)"/>. </summary> </member> <member name="M:PuppeteerSharp.EvaluationFailedException.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.EvaluationFailedException"/> class. </summary> </member> <member name="M:PuppeteerSharp.EvaluationFailedException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.EvaluationFailedException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.EvaluationFailedException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.EvaluationFailedException"/> class. </summary> <param name="message">Message.</param> <param name="innerException">Inner exception.</param> </member> <member name="M:PuppeteerSharp.EvaluationFailedException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.EvaluationFailedException"/> class. </summary> <param name="info">Info.</param> <param name="context">Context.</param> </member> <member name="T:PuppeteerSharp.ExecutionContext"> <summary> The class represents a context for JavaScript execution. Examples of JavaScript contexts are: Each <see cref="P:PuppeteerSharp.ExecutionContext.Frame"/> has a separate <see cref="T:PuppeteerSharp.ExecutionContext"/> All kind of web workers have their own contexts </summary> </member> <member name="P:PuppeteerSharp.ExecutionContext.FrameId"> <summary> Gets or sets the frame identifier. </summary> <value>The frame identifier.</value> </member> <member name="P:PuppeteerSharp.ExecutionContext.Frame"> <summary> Frame associated with this execution context. </summary> <remarks> NOTE Not every execution context is associated with a frame. For example, workers and extensions have execution contexts that are not associated with frames. </remarks> </member> <member name="P:PuppeteerSharp.ExecutionContext.IsDefault"> <summary> Gets or sets a value indicating whether this <see cref="T:PuppeteerSharp.ExecutionContext"/> is the default context of a <see cref="P:PuppeteerSharp.ExecutionContext.Frame"/> </summary> <value><c>true</c> if is default; otherwise, <c>false</c>.</value> </member> <member name="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionAsync(System.String)"> <summary> Executes a script in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync(System.String,System.Object[])"/> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(System.String)"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionAsync``1(System.String)"> <summary> Executes a script in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync``1(System.String,System.Object[])"/> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(System.String)"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionHandleAsync(System.String,System.Object[])"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync``1(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionAsync``1(System.String)"/> <seealso cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionHandleAsync(System.String,System.Object[])"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.ExecutionContext.QueryObjectsAsync(PuppeteerSharp.JSHandle)"> <summary> The method iterates JavaScript heap and finds all the objects with the given prototype. </summary> <returns>A task which resolves to a handle to an array of objects with this prototype.</returns> <param name="prototypeHandle">A handle to the object prototype.</param> </member> <member name="T:PuppeteerSharp.Extensions"> <summary> <see cref="T:PuppeteerSharp.JSHandle"/> and <see cref="T:PuppeteerSharp.ElementHandle"/> Extensions. </summary> </member> <member name="M:PuppeteerSharp.Extensions.EvaluateFunctionAsync``1(System.Threading.Tasks.Task{PuppeteerSharp.ElementHandle},System.String,System.Object[])"> <summary> Runs <paramref name="pageFunction"/> within the frame and passes it the outcome of <paramref name="elementHandleTask"/> as the first argument </summary> <typeparam name="T">The type of the response</typeparam> <param name="elementHandleTask">A task that returns an <see cref="T:PuppeteerSharp.ElementHandle"/> that will be used as the first argument in <paramref name="pageFunction"/></param> <param name="pageFunction">Function to be evaluated in browser context</param> <param name="args">Arguments to pass to <c>pageFunction</c></param> <returns>Task which resolves to the return value of <c>pageFunction</c></returns> <exception cref="T:PuppeteerSharp.SelectorException">If <paramref name="elementHandleTask"/> resolves to <c>null</c></exception> </member> <member name="M:PuppeteerSharp.Extensions.EvaluateFunctionAsync``1(System.Threading.Tasks.Task{PuppeteerSharp.JSHandle},System.String,System.Object[])"> <summary> Runs <paramref name="pageFunction"/> within the frame and passes it the outcome of <paramref name="arrayHandleTask"/> as the first argument. Use only after <see cref="M:PuppeteerSharp.Page.QuerySelectorAllHandleAsync(System.String)"/> </summary> <typeparam name="T"></typeparam> <param name="arrayHandleTask">A task that returns an <see cref="T:PuppeteerSharp.JSHandle"/> that represents an array of <see cref="T:PuppeteerSharp.ElementHandle"/> that will be used as the first argument in <paramref name="pageFunction"/></param> <param name="pageFunction">Function to be evaluated in browser context</param> <param name="args">Arguments to pass to <c>pageFunction</c></param> <returns>Task which resolves to the return value of <c>pageFunction</c></returns> </member> <member name="T:PuppeteerSharp.Frame"> <summary> Provides methods to interact with a single page frame in Chromium. One <see cref="T:PuppeteerSharp.Page"/> instance might have multiple <see cref="T:PuppeteerSharp.Frame"/> instances. At every point of time, page exposes its current frame tree via the <see cref="P:PuppeteerSharp.Page.MainFrame"/> and <see cref="P:PuppeteerSharp.Frame.ChildFrames"/> properties. <see cref="T:PuppeteerSharp.Frame"/> object's lifecycle is controlled by three events, dispatched on the page object - <see cref="E:PuppeteerSharp.Page.FrameAttached"/> - fires when the frame gets attached to the page. A Frame can be attached to the page only once - <see cref="E:PuppeteerSharp.Page.FrameNavigated"/> - fired when the frame commits navigation to a different URL - <see cref="E:PuppeteerSharp.Page.FrameDetached"/> - fired when the frame gets detached from the page. A Frame can be detached from the page only once </summary> <example> An example of dumping frame tree <code> <![CDATA[ var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); await page.GoToAsync("https://www.google.com/chrome/browser/canary.html"); dumpFrameTree(page.MainFrame, string.Empty); await browser.CloseAsync(); void dumpFrameTree(Frame frame, string indent) { Console.WriteLine(indent + frame.Url); foreach (var child in frame.ChildFrames) { dumpFrameTree(child, indent + " "); } } ]]> </code> </example> </member> <member name="P:PuppeteerSharp.Frame.ChildFrames"> <summary> Gets the child frames of the this frame </summary> </member> <member name="P:PuppeteerSharp.Frame.Name"> <summary> Gets the frame's name attribute as specified in the tag If the name is empty, returns the id attribute instead </summary> </member> <member name="P:PuppeteerSharp.Frame.Url"> <summary> Gets the frame's url </summary> </member> <member name="P:PuppeteerSharp.Frame.Detached"> <summary> Gets a value indicating if the frame is detached or not </summary> </member> <member name="P:PuppeteerSharp.Frame.ParentFrame"> <summary> Gets the parent frame, if any. Detached frames and main frames return <c>null</c> </summary> </member> <member name="M:PuppeteerSharp.Frame.EvaluateExpressionAsync(System.String)"> <summary> Executes a script in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <returns>Task which resolves to script return value</returns> <seealso cref="M:PuppeteerSharp.Frame.EvaluateFunctionAsync(System.String,System.Object[])"/> <seealso cref="M:PuppeteerSharp.Page.EvaluateExpressionAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.EvaluateExpressionAsync``1(System.String)"> <summary> Executes a script in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <returns>Task which resolves to script return value</returns> <seealso cref="M:PuppeteerSharp.Frame.EvaluateFunctionAsync``1(System.String,System.Object[])"/> <seealso cref="M:PuppeteerSharp.Page.EvaluateExpressionAsync``1(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.EvaluateFunctionAsync(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <returns>Task which resolves to script return value</returns> <seealso cref="M:PuppeteerSharp.Frame.EvaluateExpressionAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.EvaluateFunctionAsync(System.String,System.Object[])"/> </member> <member name="M:PuppeteerSharp.Frame.EvaluateFunctionAsync``1(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <returns>Task which resolves to script return value</returns> <seealso cref="M:PuppeteerSharp.Frame.EvaluateExpressionAsync``1(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.EvaluateFunctionAsync``1(System.String,System.Object[])"/> </member> <member name="M:PuppeteerSharp.Frame.EvaluateExpressionHandleAsync(System.String)"> <summary> Passes an expression to the <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(System.String)"/>, returns a <see cref="T:System.Threading.Tasks.Task"/>, then <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateExpressionHandleAsync(System.String)"/> would wait for the <see cref="T:System.Threading.Tasks.Task"/> to resolve and return its value. </summary> <example> <code> var frame = page.MainFrame; const handle = Page.MainFrame.EvaluateExpressionHandleAsync("1 + 2"); </code> </example> <returns>Resolves to the return value of <paramref name="script"/></returns> <param name="script">Expression to be evaluated in the <seealso cref="T:PuppeteerSharp.ExecutionContext"/></param> </member> <member name="M:PuppeteerSharp.Frame.EvaluateFunctionHandleAsync(System.String,System.Object[])"> <summary> Passes a function to the <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync(System.String,System.Object[])"/>, returns a <see cref="T:System.Threading.Tasks.Task"/>, then <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionHandleAsync(System.String,System.Object[])"/> would wait for the <see cref="T:System.Threading.Tasks.Task"/> to resolve and return its value. </summary> <example> <code> var frame = page.MainFrame; const handle = Page.MainFrame.EvaluateFunctionHandleAsync("() => Promise.resolve(self)"); return handle; // Handle for the global object. </code> <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments to the <see cref="M:PuppeteerSharp.ExecutionContext.EvaluateFunctionAsync(System.String,System.Object[])"/>: const handle = await Page.MainFrame.EvaluateExpressionHandleAsync("document.body"); const resultHandle = await Page.MainFrame.EvaluateFunctionHandleAsync("body => body.innerHTML", handle); return await resultHandle.JsonValueAsync(); // prints body's innerHTML </example> <returns>Resolves to the return value of <paramref name="function"/></returns> <param name="function">Function to be evaluated in the <see cref="T:PuppeteerSharp.ExecutionContext"/></param> <param name="args">Arguments to pass to <paramref name="function"/></param> </member> <member name="M:PuppeteerSharp.Frame.GetExecutionContextAsync"> <summary> Gets the <see cref="T:PuppeteerSharp.ExecutionContext"/> associated with the frame. </summary> <returns><see cref="T:PuppeteerSharp.ExecutionContext"/> associated with the frame.</returns> </member> <member name="M:PuppeteerSharp.Frame.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"> <summary> Waits for a selector to be added to the DOM </summary> <param name="selector">A selector of an element to wait for</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when element specified by selector string is added to DOM</returns> <seealso cref="M:PuppeteerSharp.Frame.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> <seealso cref="M:PuppeteerSharp.Page.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> </member> <member name="M:PuppeteerSharp.Frame.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"> <summary> Waits for a selector to be added to the DOM </summary> <param name="xpath">A xpath selector of an element to wait for</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when element specified by selector string is added to DOM</returns> <example> <code> <![CDATA[ var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); string currentURL = null; page.MainFrame .WaitForXPathAsync("//img") .ContinueWith(_ => Console.WriteLine("First URL with image: " + currentURL)); foreach (var current in new[] { "https://example.com", "https://google.com", "https://bbc.com" }) { currentURL = current; await page.GoToAsync(currentURL); } await browser.CloseAsync(); ]]> </code> </example> <seealso cref="M:PuppeteerSharp.Frame.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> <seealso cref="M:PuppeteerSharp.Page.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> </member> <member name="M:PuppeteerSharp.Frame.WaitForTimeoutAsync(System.Int32)"> <summary> Waits for a timeout </summary> <param name="milliseconds"></param> <returns>A task that resolves when after the timeout</returns> <seealso cref="M:PuppeteerSharp.Page.WaitForTimeoutAsync(System.Int32)"/> </member> <member name="M:PuppeteerSharp.Frame.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"> <summary> Waits for a function to be evaluated to a truthy value </summary> <param name="script">Function to be evaluated in browser context</param> <param name="options">Optional waiting parameters</param> <param name="args">Arguments to pass to <c>script</c></param> <returns>A task that resolves when the <c>script</c> returns a truthy value</returns> <seealso cref="M:PuppeteerSharp.Page.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"/> </member> <member name="M:PuppeteerSharp.Frame.WaitForExpressionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions)"> <summary> Waits for an expression to be evaluated to a truthy value </summary> <param name="script">Expression to be evaluated in browser context</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when the <c>script</c> returns a truthy value</returns> <seealso cref="M:PuppeteerSharp.Page.WaitForExpressionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions)"/> </member> <member name="M:PuppeteerSharp.Frame.SelectAsync(System.String,System.String[])"> <summary> Triggers a change and input event once all the provided options have been selected. If there's no <![CDATA[<select>]]> element matching selector, the method throws an error. </summary> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <param name="selector">A selector to query page for</param> <param name="values">Values of options to select. If the <![CDATA[<select>]]> has the multiple attribute, all values are considered, otherwise only the first one is taken into account.</param> <returns>Returns an array of option values that have been successfully selected.</returns> <seealso cref="M:PuppeteerSharp.Page.SelectAsync(System.String,System.String[])"/> </member> <member name="M:PuppeteerSharp.Frame.QuerySelectorAsync(System.String)"> <summary> Queries frame for the selector. If there's no such element within the frame, the method will resolve to <c>null</c>. </summary> <param name="selector">Selector to query frame for</param> <returns>Task which resolves to <see cref="T:PuppeteerSharp.ElementHandle"/> pointing to the frame element</returns> <seealso cref="M:PuppeteerSharp.Page.QuerySelectorAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.QuerySelectorAllAsync(System.String)"> <summary> Queries frame for the selector. If no elements match the selector, the return value resolve to <see cref="M:System.Array.Empty``1"/>. </summary> <param name="selector">A selector to query frame for</param> <returns>Task which resolves to ElementHandles pointing to the frame elements</returns> <seealso cref="M:PuppeteerSharp.Page.QuerySelectorAllAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.XPathAsync(System.String)"> <summary> Evaluates the XPath expression </summary> <param name="expression">Expression to evaluate <see href="https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate"/></param> <returns>Task which resolves to an array of <see cref="T:PuppeteerSharp.ElementHandle"/></returns> <seealso cref="M:PuppeteerSharp.Page.XPathAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.AddStyleTag(PuppeteerSharp.AddTagOptions)"> <summary> Adds a <c><![CDATA[<link rel="stylesheet">]]></c> tag into the page with the desired url or a <c><![CDATA[<link rel="stylesheet">]]></c> tag with the content </summary> <param name="options">add style tag options</param> <returns>Task which resolves to the added tag when the stylesheet's onload fires or when the CSS content was injected into frame</returns> <seealso cref="M:PuppeteerSharp.Page.AddStyleTagAsync(PuppeteerSharp.AddTagOptions)"/> <seealso cref="M:PuppeteerSharp.Page.AddStyleTagAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.AddScriptTag(PuppeteerSharp.AddTagOptions)"> <summary> Adds a <c><![CDATA[<script>]]></c> tag into the page with the desired url or content </summary> <param name="options">add script tag options</param> <returns>Task which resolves to the added tag when the script's onload fires or when the script content was injected into frame</returns> <seealso cref="M:PuppeteerSharp.Page.AddScriptTagAsync(PuppeteerSharp.AddTagOptions)"/> <seealso cref="M:PuppeteerSharp.Page.AddScriptTagAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.GetContentAsync"> <summary> Gets the full HTML contents of the page, including the doctype. </summary> <returns>Task which resolves to the HTML content.</returns> <seealso cref="M:PuppeteerSharp.Page.GetContentAsync"/> </member> <member name="M:PuppeteerSharp.Frame.SetContentAsync(System.String)"> <summary> Sets the HTML markup to the page </summary> <param name="html">HTML markup to assign to the page.</param> <returns>Task.</returns> <seealso cref="M:PuppeteerSharp.Page.SetContentAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Frame.GetTitleAsync"> <summary> Returns page's title </summary> <returns>page's title</returns> <seealso cref="M:PuppeteerSharp.Page.GetTitleAsync"/> </member> <member name="T:PuppeteerSharp.FrameEventArgs"> <summary> <see cref="E:PuppeteerSharp.Page.FrameAttached"/>, <see cref="E:PuppeteerSharp.Page.FrameDetached"/> and <see cref="E:PuppeteerSharp.Page.FrameNavigated"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.FrameEventArgs.Frame"> <summary> Gets or sets the frame. </summary> <value>The frame.</value> </member> <member name="M:PuppeteerSharp.FrameEventArgs.#ctor(PuppeteerSharp.Frame)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.FrameEventArgs"/> class. </summary> <param name="frame">Frame.</param> </member> <member name="T:PuppeteerSharp.Helpers.AsyncFileHelper"> <summary> Provides static methods for asynchronous file access. </summary> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.CreateStream(System.String,System.IO.FileMode)"> <inheritdoc cref="M:System.IO.FileStream.#ctor(System.String,System.IO.FileMode)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.CreateStream(System.String,System.IO.FileMode,System.IO.FileAccess)"> <inheritdoc cref="M:System.IO.FileStream.#ctor(System.String,System.IO.FileMode,System.IO.FileAccess)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.CreateStream(System.String,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)"> <inheritdoc cref="M:System.IO.FileStream.#ctor(System.String,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.ReadAllText(System.String)"> <inheritdoc cref="M:System.IO.File.ReadAllText(System.String)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.ReadAllText(System.String,System.Text.Encoding)"> <inheritdoc cref="M:System.IO.File.ReadAllText(System.String,System.Text.Encoding)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.OpenWrite(System.String)"> <inheritdoc cref="M:System.IO.File.OpenWrite(System.String)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.OpenRead(System.String)"> <inheritdoc cref="M:System.IO.File.OpenRead(System.String)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.OpenText(System.String)"> <inheritdoc cref="M:System.IO.File.OpenText(System.String)" /> </member> <member name="M:PuppeteerSharp.Helpers.AsyncFileHelper.OpenText(System.String,System.Text.Encoding)"> <inheritdoc cref="M:System.IO.File.OpenText(System.String)" /> <param name="path">File path.</param> <param name="encoding">The encoding applied to the contents of the file.</param> </member> <member name="M:PuppeteerSharp.Helpers.StringExtensions.Quote(System.String)"> <summary> Quotes the specified <see cref="T:System.String"/>. </summary> <param name="value">The string to quote.</param> <returns>A quoted string.</returns> </member> <member name="M:PuppeteerSharp.Helpers.StringExtensions.UnQuote(System.String)"> <summary> Unquote the specified <see cref="T:System.String"/>. </summary> <param name="value">The string to unquote.</param> <returns>An unquoted string.</returns> </member> <member name="T:PuppeteerSharp.IBrowserOptions"> <summary> Browser options. </summary> </member> <member name="P:PuppeteerSharp.IBrowserOptions.IgnoreHTTPSErrors"> <summary> Whether to ignore HTTPS errors during navigation. Defaults to false. </summary> </member> <member name="P:PuppeteerSharp.IBrowserOptions.AppMode"> <summary> If set to true, sets Headless = false, otherwise, enables automation. </summary> </member> <member name="T:PuppeteerSharp.Input.ClickOptions"> <summary> Options to use when clicking </summary> </member> <member name="P:PuppeteerSharp.Input.ClickOptions.Delay"> <summary> Time to wait between <c>mousedown</c> and <c>mouseup</c> in milliseconds. Defaults to 0 </summary> </member> <member name="P:PuppeteerSharp.Input.ClickOptions.ClickCount"> <summary> Defaults to 1. See https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail </summary> </member> <member name="P:PuppeteerSharp.Input.ClickOptions.Button"> <summary> The button to use for the click. Defaults to <see cref="F:PuppeteerSharp.Input.MouseButton.Left"/> </summary> </member> <member name="T:PuppeteerSharp.Input.DownOptions"> <summary> options to use with <see cref="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.Input.DownOptions.Text"> <summary> If specified, generates an input event with this text </summary> </member> <member name="T:PuppeteerSharp.Input.Key"> <summary> Utility class to be used with <see cref="T:PuppeteerSharp.Input.Keyboard"/> operations </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Cancel"> <summary> Cancel key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Help"> <summary> Help key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Backspace"> <summary> Backspace key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Tab"> <summary> Tab key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Clear"> <summary> Clear key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Enter"> <summary> Enter key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Shift"> <summary> Shift key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Control"> <summary> Control key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Alt"> <summary> Alt key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Pause"> <summary> Pause key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.CapsLock"> <summary> CapsLock key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Escape"> <summary> Escape key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Convert"> <summary> Convert key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.NonConvert"> <summary> NonConvert key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Accept"> <summary> Accept key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ModeChange"> <summary> ModeChange key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.PageUp"> <summary> PageUp key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.PageDown"> <summary> PageDown key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.End"> <summary> End key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Home"> <summary> Home key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ArrowLeft"> <summary> ArrowLeft key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ArrowUp"> <summary> ArrowUp key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ArrowRight"> <summary> ArrowRight key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ArrowDown"> <summary> ArrowDown key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Select"> <summary> Select key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Print"> <summary> Print key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Execute"> <summary> Execute key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.PrintScreen"> <summary> PrintScreen key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Insert"> <summary> Insert key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Delete"> <summary> Delete key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.CloseParentheses"> <summary> ')' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ExclamationMark"> <summary> '!' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.AtSign"> <summary> '@' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.NumberSign"> <summary> '#' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.DollarSign"> <summary> '$' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Percent"> <summary> '%' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Caret"> <summary> '^' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Ampersand"> <summary> <![CDATA['&']]> key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Asterisk"> <summary> Asterisk key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.OpenParentheses"> <summary> '(' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Meta"> <summary> Meta key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ContextMenu"> <summary> ContextMenu key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F1"> <summary> F1 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F2"> <summary> F2 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F3"> <summary> F3 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F4"> <summary> F4 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F5"> <summary> F5 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F6"> <summary> F6 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F7"> <summary> F7 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F8"> <summary> F8 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F9"> <summary> F9 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F10"> <summary> F10 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F12"> <summary> F11 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F11"> <summary> F12 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F13"> <summary> F13 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F14"> <summary> F14 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F15"> <summary> F15 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F16"> <summary> F16 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F17"> <summary> F17 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F18"> <summary> F18 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F19"> <summary> F19 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F20"> <summary> F20 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F21"> <summary> F21 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F22"> <summary> F22 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F23"> <summary> F23 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.F24"> <summary> F24 key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.NumLock"> <summary> NumLock key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ScrollLock"> <summary> ScrollLock key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.AudioVolumeMute"> <summary> AudioVolumeMute key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.AudioVolumeDown"> <summary> AudioVolumeDown key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.AudioVolumeUp"> <summary> AudioVolumeUp key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.MediaTrackNext"> <summary> MediaTrackNext key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.MediaTrackPrevious"> <summary> MediaTrackPrevious key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.MediaStop"> <summary> MediaStop key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.MediaPlayPause"> <summary> MediaPlayPause key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Semicolon"> <summary> ';' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Comma"> <summary> ',' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.EqualsSign"> <summary> '=' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.PlusSign"> <summary> '+' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.LesserThan"> <summary> <![CDATA['<']]> key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.MinusSign"> <summary> '-' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Underscore"> <summary> '_' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Period"> <summary> '.' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.GreaterThan"> <summary> <![CDATA['>']]> key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Slash"> <summary> <![CDATA['/']]>key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.QuestionMark"> <summary> '?' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Backquote"> <summary> '`' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Tilde"> <summary> '~' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.OpenSquareBrackets"> <summary> <![CDATA['[']]> key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.OpenBrackets"> <summary> '{' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.CloseSquareBrackets"> <summary> <![CDATA[']']]> key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Pipe"> <summary> '|' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.CloseBrackets"> <summary> '}' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Backslash"> <summary> '\' key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.AltGraph"> <summary> AltGraph key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Attn"> <summary> Attn key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.CrSel"> <summary> CrSel key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ExSel"> <summary> ExSel key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.EraseEof"> <summary> EraseEof key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.Play"> <summary> Play key. </summary> </member> <member name="F:PuppeteerSharp.Input.Key.ZoomOut"> <summary> ZoomOut key. </summary> </member> <member name="M:PuppeteerSharp.Input.Key.ToString"> <inheritdoc /> </member> <member name="M:PuppeteerSharp.Input.Key.op_Implicit(PuppeteerSharp.Input.Key)~System.String"> <summary> Converts the <paramref name="key"/> to its underlining string value </summary> <param name="key">The key</param> </member> <member name="T:PuppeteerSharp.Input.Keyboard"> <summary> Keyboard provides an api for managing a virtual keyboard. The high level api is <see cref="M:PuppeteerSharp.Input.Keyboard.TypeAsync(System.String,PuppeteerSharp.Input.TypeOptions)"/>, which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page. For finer control, you can use <see cref="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"/>, <see cref="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"/>, and <see cref="M:PuppeteerSharp.Input.Keyboard.SendCharacterAsync(System.String)"/> to manually fire events as if they were generated from a real keyboard. </summary> </member> <member name="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"> <summary> Dispatches a <c>keydown</c> event </summary> <param name="key">Name of key to press, such as <c>ArrowLeft</c>. <see cref="T:PuppeteerSharp.Input.KeyDefinitions"/> for a list of all key names.</param> <param name="options">down options</param> <remarks> If <c>key</c> is a single character and no modifier keys besides <c>Shift</c> are being held down, a <c>keypress</c>/<c>input</c> event will also generated. The <c>text</c> option can be specified to force an input event to be generated. If <c>key</c> is a modifier key, <c>Shift</c>, <c>Meta</c>, <c>Control</c>, or <c>Alt</c>, subsequent key presses will be sent with that modifier active. To release the modifier key, use <see cref="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"/> After the key is pressed once, subsequent calls to <see cref="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"/> will have <see href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat">repeat</see> set to <c>true</c>. To release the key, use <see cref="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"/> </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"> <summary> Dispatches a <c>keyup</c> event. </summary> <param name="key">Name of key to release, such as `ArrowLeft`. See <see cref="T:PuppeteerSharp.Input.KeyDefinitions"/> for a list of all key names.</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Keyboard.SendCharacterAsync(System.String)"> <summary> Dispatches a <c>keypress</c> and <c>input</c> event. This does not send a <c>keydown</c> or <c>keyup</c> event. </summary> <param name="charText">Character to send into the page</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Keyboard.TypeAsync(System.String,PuppeteerSharp.Input.TypeOptions)"> <summary> Sends a <c>keydown</c>, <c>keypress</c>/<c>input</c>, and <c>keyup</c> event for each character in the text. </summary> <param name="text">A text to type into a focused element</param> <param name="options">type options</param> <remarks> To press a special key, like <c>Control</c> or <c>ArrowDown</c>, use <see cref="M:PuppeteerSharp.Input.Keyboard.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/> </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Keyboard.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"> <summary> Shortcut for <see cref="M:PuppeteerSharp.Input.Keyboard.DownAsync(System.String,PuppeteerSharp.Input.DownOptions)"/> and <see cref="M:PuppeteerSharp.Input.Keyboard.UpAsync(System.String)"/> </summary> <param name="key">Name of key to press, such as <c>ArrowLeft</c>. <see cref="T:PuppeteerSharp.Input.KeyDefinitions"/> for a list of all key names.</param> <param name="options">press options</param> <remarks> If <paramref name="key"/> is a single character and no modifier keys besides <c>Shift</c> are being held down, a <c>keypress</c>/<c>input</c> event will also generated. The <see cref="P:PuppeteerSharp.Input.DownOptions.Text"/> option can be specified to force an input event to be generated. Modifier keys DO effect <see cref="M:PuppeteerSharp.ElementHandle.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/>. Holding down <c>Shift</c> will type the text in upper case. </remarks> <returns>Task</returns> </member> <member name="T:PuppeteerSharp.Input.Mouse"> <summary> Provides methods to interact with the mouse </summary> </member> <member name="M:PuppeteerSharp.Input.Mouse.#ctor(PuppeteerSharp.CDPSession,PuppeteerSharp.Input.Keyboard)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.Input.Mouse"/> class. </summary> <param name="client">The client</param> <param name="keyboard">The keyboard</param> </member> <member name="M:PuppeteerSharp.Input.Mouse.MoveAsync(System.Decimal,System.Decimal,PuppeteerSharp.Input.MoveOptions)"> <summary> Dispatches a <c>mousemove</c> event. </summary> <param name="x"></param> <param name="y"></param> <param name="options"></param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Mouse.ClickAsync(System.Decimal,System.Decimal,PuppeteerSharp.Input.ClickOptions)"> <summary> Shortcut for <see cref="M:PuppeteerSharp.Input.Mouse.MoveAsync(System.Decimal,System.Decimal,PuppeteerSharp.Input.MoveOptions)"/>, <see cref="M:PuppeteerSharp.Input.Mouse.DownAsync(PuppeteerSharp.Input.ClickOptions)"/> and <see cref="M:PuppeteerSharp.Input.Mouse.UpAsync(PuppeteerSharp.Input.ClickOptions)"/> </summary> <param name="x"></param> <param name="y"></param> <param name="options"></param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Mouse.DownAsync(PuppeteerSharp.Input.ClickOptions)"> <summary> Dispatches a <c>mousedown</c> event. </summary> <param name="options"></param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Input.Mouse.UpAsync(PuppeteerSharp.Input.ClickOptions)"> <summary> Dispatches a <c>mouseup</c> event. </summary> <param name="options"></param> <returns>Task</returns> </member> <member name="T:PuppeteerSharp.Input.MouseButton"> <summary> The type of button click to use with <see cref="M:PuppeteerSharp.Input.Mouse.DownAsync(PuppeteerSharp.Input.ClickOptions)"/>, <see cref="M:PuppeteerSharp.Input.Mouse.UpAsync(PuppeteerSharp.Input.ClickOptions)"/> and <see cref="M:PuppeteerSharp.Input.Mouse.ClickAsync(System.Decimal,System.Decimal,PuppeteerSharp.Input.ClickOptions)"/> </summary> </member> <member name="F:PuppeteerSharp.Input.MouseButton.None"> <summary> Non specified </summary> </member> <member name="F:PuppeteerSharp.Input.MouseButton.Left"> <summary> The left mouse button </summary> </member> <member name="F:PuppeteerSharp.Input.MouseButton.Right"> <summary> The right mouse button </summary> </member> <member name="F:PuppeteerSharp.Input.MouseButton.Middle"> <summary> The middle mouse button </summary> </member> <member name="T:PuppeteerSharp.Input.MoveOptions"> <summary> options to use <see cref="M:PuppeteerSharp.Input.Mouse.MoveAsync(System.Decimal,System.Decimal,PuppeteerSharp.Input.MoveOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.Input.MoveOptions.Steps"> <summary> Sends intermediate <c>mousemove</c> events. Defaults to 1 </summary> </member> <member name="T:PuppeteerSharp.Input.PressOptions"> <summary> options to use when pressing a key. </summary> <seealso cref="M:PuppeteerSharp.Input.Keyboard.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/> <seealso cref="M:PuppeteerSharp.ElementHandle.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/> </member> <member name="P:PuppeteerSharp.Input.PressOptions.Delay"> <summary> Time to wait between <c>keydown</c> and <c>keyup</c> in milliseconds. Defaults to 0. </summary> </member> <member name="T:PuppeteerSharp.Input.Touchscreen"> <summary> Provides methods to interact with the touch screen </summary> </member> <member name="M:PuppeteerSharp.Input.Touchscreen.#ctor(PuppeteerSharp.CDPSession,PuppeteerSharp.Input.Keyboard)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.Input.Touchscreen"/> class. </summary> <param name="client">The client</param> <param name="keyboard">The keyboard</param> </member> <member name="M:PuppeteerSharp.Input.Touchscreen.TapAsync(System.Decimal,System.Decimal)"> <summary> Dispatches a <c>touchstart</c> and <c>touchend</c> event. </summary> <param name="x"></param> <param name="y"></param> <returns>Task</returns> <seealso cref="M:PuppeteerSharp.Page.TapAsync(System.String)"/> </member> <member name="T:PuppeteerSharp.Input.TypeOptions"> <summary> Options to use when typing </summary> <seealso cref="M:PuppeteerSharp.Page.TypeAsync(System.String,System.String,PuppeteerSharp.Input.TypeOptions)"/> <seealso cref="M:PuppeteerSharp.ElementHandle.TypeAsync(System.String,PuppeteerSharp.Input.TypeOptions)"/> <seealso cref="M:PuppeteerSharp.Input.Keyboard.TypeAsync(System.String,PuppeteerSharp.Input.TypeOptions)"/> </member> <member name="P:PuppeteerSharp.Input.TypeOptions.Delay"> <summary> Time to wait between <c>keydown</c> and <c>keyup</c> in milliseconds. Defaults to 0. </summary> </member> <member name="T:PuppeteerSharp.JSHandle"> <summary> JSHandle represents an in-page JavaScript object. JSHandles can be created with the <see cref="M:PuppeteerSharp.Page.EvaluateExpressionHandleAsync(System.String)"/> and <see cref="M:PuppeteerSharp.Page.EvaluateFunctionHandleAsync(System.String,System.Object[])"/> methods. </summary> </member> <member name="P:PuppeteerSharp.JSHandle.ExecutionContext"> <summary> Gets the execution context. </summary> <value>The execution context.</value> </member> <member name="P:PuppeteerSharp.JSHandle.Disposed"> <summary> Gets or sets a value indicating whether this <see cref="T:PuppeteerSharp.JSHandle"/> is disposed. </summary> <value><c>true</c> if disposed; otherwise, <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.JSHandle.RemoteObject"> <summary> Gets or sets the remote object. </summary> <value>The remote object.</value> </member> <member name="P:PuppeteerSharp.JSHandle.Client"> <summary> Gets the client. </summary> <value>The client.</value> </member> <member name="P:PuppeteerSharp.JSHandle.Logger"> <summary> Gets the logger. </summary> <value>The logger.</value> </member> <member name="M:PuppeteerSharp.JSHandle.GetPropertyAsync(System.String)"> <summary> Fetches a single property from the referenced object </summary> <param name="propertyName">property to get</param> <returns>Task of <see cref="T:PuppeteerSharp.JSHandle"/></returns> </member> <member name="M:PuppeteerSharp.JSHandle.GetPropertiesAsync"> <summary> Returns a <see cref="T:System.Collections.Generic.Dictionary`2"/> with property names as keys and <see cref="T:PuppeteerSharp.JSHandle"/> instances for the property values. </summary> <returns>Task which resolves to a <see cref="T:System.Collections.Generic.Dictionary`2"/></returns> <example> <code> var handle = await page.EvaluateExpressionHandle("({window, document})"); var properties = await handle.GetPropertiesAsync(); var windowHandle = properties["window"]; var documentHandle = properties["document"]; await handle.DisposeAsync(); </code> </example> </member> <member name="M:PuppeteerSharp.JSHandle.JsonValueAsync"> <summary> Returns a JSON representation of the object </summary> <returns>Task</returns> <remarks> The method will return an empty JSON if the referenced object is not stringifiable. It will throw an error if the object has circular references </remarks> </member> <member name="M:PuppeteerSharp.JSHandle.JsonValueAsync``1"> <summary> Returns a JSON representation of the object </summary> <typeparam name="T">A strongly typed object to parse to</typeparam> <returns>Task</returns> <remarks> The method will return an empty JSON if the referenced object is not stringifiable. It will throw an error if the object has circular references </remarks> </member> <member name="M:PuppeteerSharp.JSHandle.DisposeAsync"> <summary> Disposes the Handle. It will mark the JSHandle as disposed and release the <see cref="P:PuppeteerSharp.JSHandle.RemoteObject"/> </summary> <returns>The async.</returns> </member> <member name="M:PuppeteerSharp.JSHandle.ToString"> <inheritdoc/> </member> <member name="T:PuppeteerSharp.Launcher"> <summary> Launcher controls the creation of Chromium processes or the connection remote ones. </summary> </member> <member name="P:PuppeteerSharp.Launcher.IsChromeClosed"> <summary> Gets or sets a value indicating whether the process created by the instance is closed. </summary> <value><c>true</c> if is the process is closed; otherwise, <c>false</c>.</value> </member> <member name="M:PuppeteerSharp.Launcher.#ctor(Microsoft.Extensions.Logging.ILoggerFactory)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.Launcher"/> class. </summary> <param name="loggerFactory">Logger factory.</param> </member> <member name="M:PuppeteerSharp.Launcher.LaunchAsync(PuppeteerSharp.LaunchOptions)"> <summary> The method launches a browser instance with given arguments. The browser will be closed when the Browser is disposed. </summary> <param name="options">Options for launching Chrome</param> <returns>A connected browser.</returns> <remarks> See <a href="https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/">this article</a> for a description of the differences between Chromium and Chrome. <a href="https://chromium.googlesource.com/chromium/src/+/lkcr/docs/chromium_browser_vs_google_chrome.md">This article</a> describes some differences for Linux users. </remarks> </member> <member name="M:PuppeteerSharp.Launcher.ConnectAsync(PuppeteerSharp.ConnectOptions)"> <summary> Attaches Puppeteer to an existing Chromium instance. The browser will be closed when the Browser is disposed. </summary> <param name="options">Options for connecting.</param> <returns>A connected browser.</returns> </member> <member name="M:PuppeteerSharp.Launcher.TryDeleteUserDataDir(System.Int32,System.Nullable{System.TimeSpan})"> <summary> Tries the delete user data dir. </summary> <returns>The task.</returns> <param name="times">How many times it should try to delete the folder</param> <param name="delay">Time to wait between tries.</param> </member> <member name="M:PuppeteerSharp.Launcher.GetExecutablePath"> <summary> Gets the executable path. </summary> <returns>The executable path.</returns> </member> <member name="M:PuppeteerSharp.Launcher.GetTemporaryDirectory"> <summary> Gets a temporary directory using <see cref="M:System.IO.Path.GetTempPath"/> and <see cref="M:System.IO.Path.GetRandomFileName"/>. </summary> <returns>A temporary directory.</returns> </member> <member name="T:PuppeteerSharp.LaunchOptions"> <summary> Options for launching the Chrome/ium browser. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.IgnoreHTTPSErrors"> <summary> Whether to ignore HTTPS errors during navigation. Defaults to false. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.AppMode"> <summary> If set to true, sets Headless = false, otherwise, enables automation. </summary> <remarks> AppMode won't neither add the argument '--remote-debugging-pipe' nor implement Pipes due to limitations in .NET see <see href="https://github.com/dotnet/corefx/issues/30575"/> </remarks> </member> <member name="P:PuppeteerSharp.LaunchOptions.Headless"> <summary> Whether to run browser in headless mode. Defaults to true unless the devtools option is true. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.ExecutablePath"> <summary> Path to a Chromium or Chrome executable to run instead of bundled Chromium. If executablePath is a relative path, then it is resolved relative to current working directory. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.SlowMo"> <summary> Slows down Puppeteer operations by the specified amount of milliseconds. Useful so that you can see what is going on. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.Args"> <summary> Additional arguments to pass to the browser instance. List of Chromium flags can be found <a href="http://peter.sh/experiments/chromium-command-line-switches/">here</a>. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.Timeout"> <summary> Maximum time in milliseconds to wait for the browser instance to start. Defaults to 30000 (30 seconds). Pass 0 to disable timeout. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.DumpIO"> <summary> Whether to pipe browser process stdout and stderr into process.stdout and process.stderr. Defaults to false. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.UserDataDir"> <summary> Path to a User Data Directory. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.Env"> <summary> Specify environment variables that will be visible to browser. Defaults to Environment variables. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.Devtools"> <summary> Whether to auto-open DevTools panel for each tab. If this option is true, the headless option will be set false. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.KeepAliveInterval"> <summary> Keep alive value. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.LogProcess"> <summary> Logs process counts after launching chrome and after exiting. </summary> </member> <member name="P:PuppeteerSharp.LaunchOptions.IgnoreDefaultArgs"> <summary> Do not use it. Dangerous option; use with care. Defaults to false. </summary> <value><c>true</c> if ignore default arguments; otherwise, <c>false</c>.</value> </member> <member name="T:PuppeteerSharp.Media.Clip"> <summary> Clip data. </summary> <seealso cref="M:PuppeteerSharp.BoundingBox.ToClip"/> <seealso cref="P:PuppeteerSharp.ScreenshotOptions.Clip"/> </member> <member name="P:PuppeteerSharp.Media.Clip.X"> <summary> x-coordinate of top-left corner of clip area. </summary> <value>The x.</value> </member> <member name="P:PuppeteerSharp.Media.Clip.Y"> <summary> y-coordinate of top-left corner of clip area. </summary> <value>The y.</value> </member> <member name="P:PuppeteerSharp.Media.Clip.Width"> <summary> Width of clipping area. </summary> <value>The width.</value> </member> <member name="P:PuppeteerSharp.Media.Clip.Height"> <summary> Height of clipping area. </summary> <value>The height.</value> </member> <member name="P:PuppeteerSharp.Media.Clip.Scale"> <summary> Scale of the webpage rendering. Defaults to 1. </summary> <value>The scale.</value> </member> <member name="T:PuppeteerSharp.Media.MarginOptions"> <summary> margin options used in <see cref="T:PuppeteerSharp.PdfOptions"/> </summary> </member> <member name="P:PuppeteerSharp.Media.MarginOptions.Top"> <summary> Top margin, accepts values labeled with units </summary> </member> <member name="P:PuppeteerSharp.Media.MarginOptions.Left"> <summary> Left margin, accepts values labeled with units </summary> </member> <member name="P:PuppeteerSharp.Media.MarginOptions.Bottom"> <summary> Bottom margin, accepts values labeled with units </summary> </member> <member name="P:PuppeteerSharp.Media.MarginOptions.Right"> <summary> Right margin, accepts values labeled with units </summary> </member> <member name="T:PuppeteerSharp.Media.MediaType"> <summary> Media type. </summary> </member> <member name="F:PuppeteerSharp.Media.MediaType.Print"> <summary> Media Print. </summary> </member> <member name="F:PuppeteerSharp.Media.MediaType.Screen"> <summary> Media Screen. </summary> </member> <member name="F:PuppeteerSharp.Media.MediaType.None"> <summary> No media set </summary> </member> <member name="T:PuppeteerSharp.Media.PaperFormat"> <summary> Paper format. </summary> <seealso cref="P:PuppeteerSharp.PdfOptions.Format"/> </member> <member name="P:PuppeteerSharp.Media.PaperFormat.Width"> <summary> Page width in inches </summary> <value>The width.</value> </member> <member name="P:PuppeteerSharp.Media.PaperFormat.Height"> <summary> Page height in inches </summary> <value>The Height.</value> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.Letter"> <summary> Letter. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.Legal"> <summary> Legal. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.Tabloid"> <summary> Tabloid. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.Ledger"> <summary> Ledger. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A0"> <summary> A0. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A1"> <summary> A1. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A2"> <summary> A2. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A3"> <summary> A3. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A4"> <summary> A4. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A5"> <summary> A5. </summary> </member> <member name="F:PuppeteerSharp.Media.PaperFormat.A6"> <summary> A6. </summary> </member> <member name="T:PuppeteerSharp.MessageEventArgs"> <summary> <seealso cref="E:PuppeteerSharp.CDPSession.MessageReceived"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.MessageEventArgs.MessageID"> <summary> Gets or sets the message identifier. </summary> <value>The message identifier.</value> </member> <member name="P:PuppeteerSharp.MessageEventArgs.MessageData"> <summary> Gets or sets the message data. </summary> <value>The message data.</value> </member> <member name="T:PuppeteerSharp.MessageException"> <summary> Exception thrown by <seealso cref="M:PuppeteerSharp.CDPSession.SendAsync(System.String,System.Object)"/> </summary> </member> <member name="M:PuppeteerSharp.MessageException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.MessageException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.MessageException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.MessageException"/> class. </summary> <param name="message">Message.</param> <param name="innerException">Inner exception.</param> </member> <member name="T:PuppeteerSharp.MetricEventArgs"> <summary> <seealso cref="E:PuppeteerSharp.Page.Metrics"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.MetricEventArgs.Title"> <summary> Gets the title. </summary> <value>The title.</value> </member> <member name="P:PuppeteerSharp.MetricEventArgs.Metrics"> <summary> Gets the metrics. </summary> <value>The metrics.</value> </member> <member name="M:PuppeteerSharp.MetricEventArgs.#ctor(System.String,System.Collections.Generic.Dictionary{System.String,System.Decimal})"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.MetricEventArgs"/> class. </summary> <param name="title">Title.</param> <param name="metrics">Metrics.</param> </member> <member name="T:PuppeteerSharp.Mobile.DeviceDescriptor"> <summary> Device descriptor. </summary> </member> <member name="P:PuppeteerSharp.Mobile.DeviceDescriptor.Name"> <summary> Device name. </summary> <value>The name.</value> </member> <member name="P:PuppeteerSharp.Mobile.DeviceDescriptor.UserAgent"> <summary> User Agent </summary> <value>The user agent.</value> </member> <member name="P:PuppeteerSharp.Mobile.DeviceDescriptor.ViewPort"> <summary> ViewPort. </summary> <value>The view port.</value> </member> <member name="T:PuppeteerSharp.Mobile.DeviceDescriptorName"> <summary> Device descriptor name. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.BlackberryPlayBook"> <summary> Blackberry PlayBook. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.BlackberryPlayBookLandscape"> <summary> blackberry PlayBook landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.BlackBerryZ30"> <summary> Blackberry z30. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.BlackBerryZ30Landscape"> <summary> Blackberry z30 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyNote3"> <summary> Galaxy note 3. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyNote3Landscape"> <summary> Galaxy note 3 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyNoteII"> <summary> Galaxy note II. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyNoteIILandscape"> <summary> Galaxy note II Landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxySIII"> <summary> Galaxy S III. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxySIIILandscape"> <summary> Galaxy S III Landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyS5"> <summary> Galaxy S5. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.GalaxyS5Landscape"> <summary> Galaxy S5 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPad"> <summary> iPad. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPadLandscape"> <summary> iPad landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPadMini"> <summary> iPad mini. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPadMiniLandscape"> <summary> iPad mini landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPadPro"> <summary> iPad pro. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPadProLandscape"> <summary> iPad pro landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone4"> <summary> iPhone 4. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone4Landscape"> <summary> iPhone 4 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone5"> <summary> iPhone 5. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone5Landscape"> <summary> iPhone 5 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone6"> <summary> iPhone 6. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone6Landscape"> <summary> iPhone 6 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone6Plus"> <summary> iPhone 6 plus. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhoneX"> <summary> iPhone 6 plus landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhone6PlusLandscape"> <summary> iPhone 6 plus landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.IPhoneXLandscape"> <summary> iPhone X Landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.KindleFireHDX"> <summary> Kindle fire hdx. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.KindleFireHDXLandscape"> <summary> Kindle fire HDXL andscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.LGOptimusL70"> <summary> LG Optimus L70. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.LGOptimusL70Landscape"> <summary> LG Optimus L70 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.MicrosoftLumia550"> <summary> Microsoft Lumia 550. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.MicrosoftLumia950"> <summary> Microsoft Lumia 950. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.MicrosoftLumia950Landscape"> <summary> Microsoft Lumia 950 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus10"> <summary> Nexus 10. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus10Landscape"> <summary> Nexus 10 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus4"> <summary> Nexus 4. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus4Landscape"> <summary> Nexus 4 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus5"> <summary> Nexus 5. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus5Landscape"> <summary> Nexus 5 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus5X"> <summary> Nexus 5X. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus5XLandscape"> <summary> Nexus 5X Landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus6"> <summary> Nexus6. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus6Landscape"> <summary> Nexus 6 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus6P"> <summary> Nexus 6P. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus6PLandscape"> <summary> Nexus 6P Landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus7"> <summary> Nexus7. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Nexus7Landscape"> <summary> Nexus 7 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.NokiaLumia520"> <summary> Nokia Lumia 520. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.NokiaLumia520Landscape"> <summary> Nokia Lumia 520 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.NokiaN9"> <summary> Nokia N9. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.NokiaN9Landscape"> <summary> Nokia N9 landscape. </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Pixel2"> <summary> Pixel 2 </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Pixel2Landscape"> <summary> Pixel 2 landscape </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Pixel2XL"> <summary> Pixel 2 XL </summary> </member> <member name="F:PuppeteerSharp.Mobile.DeviceDescriptorName.Pixel2XLLandscape"> <summary> Pixel 2 XL landscape </summary> </member> <member name="T:PuppeteerSharp.Mobile.DeviceDescriptors"> <summary> Device descriptors. </summary> </member> <member name="M:PuppeteerSharp.Mobile.DeviceDescriptors.Get(PuppeteerSharp.Mobile.DeviceDescriptorName)"> <summary> Get the specified device description. </summary> <returns>The device descriptor.</returns> <param name="name">Device Name.</param> </member> <member name="T:PuppeteerSharp.NavigationException"> <summary> Exception thrown when a <see cref="T:PuppeteerSharp.Page"/> fails to navigate an URL. </summary> </member> <member name="P:PuppeteerSharp.NavigationException.Url"> <summary> Url that caused the exception </summary> <value>The URL.</value> </member> <member name="M:PuppeteerSharp.NavigationException.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.NavigationException"/> class. </summary> </member> <member name="M:PuppeteerSharp.NavigationException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.NavigationException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.NavigationException.#ctor(System.String,System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.NavigationException"/> class. </summary> <param name="message">Message.</param> <param name="url">Url.</param> </member> <member name="M:PuppeteerSharp.NavigationException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.NavigationException"/> class. </summary> <param name="message">Message.</param> <param name="innerException">Inner exception.</param> </member> <member name="M:PuppeteerSharp.NavigationException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.NavigationException"/> class. </summary> <param name="info">Info.</param> <param name="context">Context.</param> </member> <member name="P:PuppeteerSharp.NavigationException.Message"> <inheritdoc/> </member> <member name="T:PuppeteerSharp.NavigationOptions"> <summary> Navigation options used by <see cref="M:PuppeteerSharp.Page.WaitForNavigationAsync(PuppeteerSharp.NavigationOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.NavigationOptions.Timeout"> <summary> Maximum navigation time in milliseconds, defaults to 30 seconds, pass <c>0</c> to disable timeout. </summary> <remarks> The default value can be changed by setting the <see cref="P:PuppeteerSharp.Page.DefaultNavigationTimeout"/> property. </remarks> </member> <member name="P:PuppeteerSharp.NavigationOptions.WaitUntil"> <summary> When to consider navigation succeeded, defaults to <see cref="F:PuppeteerSharp.WaitUntilNavigation.Load"/>. Given an array of <see cref="T:PuppeteerSharp.WaitUntilNavigation"/>, navigation is considered to be successful after all events have been fired </summary> </member> <member name="T:PuppeteerSharp.Page"> <summary> Provides methods to interact with a single tab in Chromium. One <see cref="P:PuppeteerSharp.Page.Browser"/> instance might have multiple <see cref="T:PuppeteerSharp.Page"/> instances. </summary> <example> This example creates a page, navigates it to a URL, and then saves a screenshot: <code> var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); await page.GoToAsync("https://example.com"); await page.ScreenshotAsync("screenshot.png"); await browser.CloseAsync(); </code> </example> </member> <member name="E:PuppeteerSharp.Page.Load"> <summary> Raised when the JavaScript <c>load</c> <see href="https://developer.mozilla.org/en-US/docs/Web/Events/load"/> event is dispatched. </summary> </member> <member name="E:PuppeteerSharp.Page.Error"> <summary> Raised when the page crashes </summary> </member> <member name="E:PuppeteerSharp.Page.Metrics"> <summary> Raised when the JavaScript code makes a call to <c>console.timeStamp</c>. For the list of metrics see <see cref="M:PuppeteerSharp.Page.MetricsAsync"/>. </summary> </member> <member name="E:PuppeteerSharp.Page.Dialog"> <summary> Raised when a JavaScript dialog appears, such as <c>alert</c>, <c>prompt</c>, <c>confirm</c> or <c>beforeunload</c>. Puppeteer can respond to the dialog via <see cref="E:PuppeteerSharp.Page.Dialog"/>'s <see cref="M:PuppeteerSharp.Dialog.Accept(System.String)"/> or <see cref="M:PuppeteerSharp.Dialog.Dismiss"/> methods. </summary> </member> <member name="E:PuppeteerSharp.Page.DOMContentLoaded"> <summary> Raised when the JavaScript <c>DOMContentLoaded</c> <see href="https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded"/> event is dispatched. </summary> </member> <member name="E:PuppeteerSharp.Page.Console"> <summary> Raised when JavaScript within the page calls one of console API methods, e.g. <c>console.log</c> or <c>console.dir</c>. Also emitted if the page throws an error or a warning. The arguments passed into <c>console.log</c> appear as arguments on the event handler. </summary> <example> An example of handling <see cref="E:PuppeteerSharp.Page.Console"/> event: <code> <![CDATA[ page.Console += (sender, e) => { for (var i = 0; i < e.Message.Args.Count; ++i) { System.Console.WriteLine($"{i}: {e.Message.Args[i]}"); } } ]]> </code> </example> </member> <member name="E:PuppeteerSharp.Page.FrameAttached"> <summary> Raised when a frame is attached. </summary> </member> <member name="E:PuppeteerSharp.Page.FrameDetached"> <summary> Raised when a frame is detached. </summary> </member> <member name="E:PuppeteerSharp.Page.FrameNavigated"> <summary> Raised when a frame is navigated to a new url. </summary> </member> <member name="E:PuppeteerSharp.Page.Response"> <summary> Raised when a <see cref="E:PuppeteerSharp.Page.Response"/> is received. </summary> </member> <member name="E:PuppeteerSharp.Page.Request"> <summary> Raised when a page issues a request. The <see cref="E:PuppeteerSharp.Page.Request"/> object is read-only. In order to intercept and mutate requests, see <see cref="M:PuppeteerSharp.Page.SetRequestInterceptionAsync(System.Boolean)"/> </summary> </member> <member name="E:PuppeteerSharp.Page.RequestFinished"> <summary> Raised when a request finishes successfully. </summary> </member> <member name="E:PuppeteerSharp.Page.RequestFailed"> <summary> Raised when a request fails, for example by timing out. </summary> </member> <member name="E:PuppeteerSharp.Page.PageError"> <summary> Raised when an uncaught exception happens within the page. </summary> </member> <member name="E:PuppeteerSharp.Page.Close"> <summary> Raised when the page closes. </summary> </member> <member name="P:PuppeteerSharp.Page.DefaultNavigationTimeout"> <summary> This setting will change the default maximum navigation time of 30 seconds for the following methods: - <see cref="M:PuppeteerSharp.Page.GoToAsync(System.String,PuppeteerSharp.NavigationOptions)"/> - <see cref="M:PuppeteerSharp.Page.GoBackAsync(PuppeteerSharp.NavigationOptions)"/> - <see cref="M:PuppeteerSharp.Page.GoForwardAsync(PuppeteerSharp.NavigationOptions)"/> - <see cref="M:PuppeteerSharp.Page.ReloadAsync(PuppeteerSharp.NavigationOptions)"/> - <see cref="M:PuppeteerSharp.Page.WaitForNavigationAsync(PuppeteerSharp.NavigationOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.Page.MainFrame"> <summary> Gets page's main frame </summary> <remarks> Page is guaranteed to have a main frame which persists during navigations. </remarks> </member> <member name="P:PuppeteerSharp.Page.Frames"> <summary> Gets all frames attached to the page. </summary> <value>An array of all frames attached to the page.</value> </member> <member name="P:PuppeteerSharp.Page.Url"> <summary> Shortcut for <c>page.MainFrame.Url</c> </summary> </member> <member name="P:PuppeteerSharp.Page.Target"> <summary> Gets that target this page was created from. </summary> </member> <member name="P:PuppeteerSharp.Page.Keyboard"> <summary> Gets this page's keyboard </summary> </member> <member name="P:PuppeteerSharp.Page.Touchscreen"> <summary> Gets this page's touchscreen </summary> </member> <member name="P:PuppeteerSharp.Page.Coverage"> <summary> Gets this page's coverage </summary> </member> <member name="P:PuppeteerSharp.Page.Tracing"> <summary> Gets this page's tracing </summary> </member> <member name="P:PuppeteerSharp.Page.Mouse"> <summary> Gets this page's mouse </summary> </member> <member name="P:PuppeteerSharp.Page.Viewport"> <summary> Gets this page's viewport </summary> </member> <member name="F:PuppeteerSharp.Page.SupportedMetrics"> <summary> List of supported metrics provided by the <see cref="E:PuppeteerSharp.Page.Metrics"/> event. </summary> </member> <member name="P:PuppeteerSharp.Page.Browser"> <summary> Get the browser the page belongs to. </summary> </member> <member name="P:PuppeteerSharp.Page.IsClosed"> <summary> Get an indication that the page has been closed. </summary> </member> <member name="M:PuppeteerSharp.Page.MetricsAsync"> <summary> Returns metrics </summary> <returns>Task which resolves into a list of metrics</returns> <remarks> All timestamps are in monotonic time: monotonically increasing time in seconds since an arbitrary point in the past. </remarks> </member> <member name="M:PuppeteerSharp.Page.TapAsync(System.String)"> <summary> Fetches an element with <paramref name="selector"/>, scrolls it into view if needed, and then uses <see cref="P:PuppeteerSharp.Page.Touchscreen"/> to tap in the center of the element. </summary> <param name="selector">A selector to search for element to tap. If there are multiple elements satisfying the selector, the first will be clicked.</param> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <returns>Task which resolves when the element matching <paramref name="selector"/> is successfully tapped</returns> </member> <member name="M:PuppeteerSharp.Page.QuerySelectorAsync(System.String)"> <summary> The method runs <c>document.querySelector</c> within the page. If no element matches the selector, the return value resolve to <c>null</c>. </summary> <param name="selector">A selector to query page for</param> <returns>Task which resolves to <see cref="T:PuppeteerSharp.ElementHandle"/> pointing to the frame element</returns> <remarks> Shortcut for <c>page.MainFrame.QuerySelectorAsync(selector)</c> </remarks> <seealso cref="M:PuppeteerSharp.Frame.QuerySelectorAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Page.QuerySelectorAllAsync(System.String)"> <summary> Runs <c>document.querySelectorAll</c> within the page. If no elements match the selector, the return value resolve to <see cref="M:System.Array.Empty``1"/>. </summary> <param name="selector">A selector to query page for</param> <returns>Task which resolves to ElementHandles pointing to the frame elements</returns> <seealso cref="M:PuppeteerSharp.Frame.QuerySelectorAllAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Page.QuerySelectorAllHandleAsync(System.String)"> <summary> A utility function to be used with <see cref="M:PuppeteerSharp.Extensions.EvaluateFunctionAsync``1(System.Threading.Tasks.Task{PuppeteerSharp.JSHandle},System.String,System.Object[])"/> </summary> <param name="selector">A selector to query page for</param> <returns>Task which resolves to a <see cref="T:PuppeteerSharp.JSHandle"/> of <c>document.querySelectorAll</c> result</returns> </member> <member name="M:PuppeteerSharp.Page.XPathAsync(System.String)"> <summary> Evaluates the XPath expression </summary> <param name="expression">Expression to evaluate <see href="https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate"/></param> <returns>Task which resolves to an array of <see cref="T:PuppeteerSharp.ElementHandle"/></returns> <remarks> Shortcut for <c>page.MainFrame.XPathAsync(expression)</c> </remarks> <seealso cref="M:PuppeteerSharp.Frame.XPathAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Page.EvaluateExpressionHandleAsync(System.String)"> <summary> Executes a script in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateFunctionHandleAsync(System.String,System.Object[])"> <summary> Executes a script in browser context </summary> <param name="pageFunction">Script to be evaluated in browser context</param> <param name="args">Function arguments</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateOnNewDocumentAsync(System.String,System.Object[])"> <summary> Adds a function which would be invoked in one of the following scenarios: - whenever the page is navigated - whenever the child frame is attached or navigated. In this case, the function is invoked in the context of the newly attached frame </summary> <param name="pageFunction">Function to be evaluated in browser context</param> <param name="args">Arguments to pass to <c>pageFunction</c></param> <remarks> The function is invoked after the document was created but before any of its scripts were run. This is useful to amend JavaScript environment, e.g. to seed <c>Math.random</c>. </remarks> <example> An example of overriding the navigator.languages property before the page loads: <code> var overrideNavigatorLanguages = @"Object.defineProperty(navigator, 'languages', { get: function() { return ['en-US', 'en', 'bn']; }; });"; await page.EvaluateOnNewDocumentAsync(overrideNavigatorLanguages); </code> </example> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.QueryObjectsAsync(PuppeteerSharp.JSHandle)"> <summary> The method iterates JavaScript heap and finds all the objects with the given prototype. Shortcut for <c>page.MainFrame.GetExecutionContextAsync().QueryObjectsAsync(prototypeHandle)</c>. </summary> <returns>A task which resolves to a handle to an array of objects with this prototype.</returns> <param name="prototypeHandle">A handle to the object prototype.</param> </member> <member name="M:PuppeteerSharp.Page.SetRequestInterceptionAsync(System.Boolean)"> <summary> Activating request interception enables <see cref="M:PuppeteerSharp.Request.AbortAsync(PuppeteerSharp.RequestAbortErrorCode)">request.AbortAsync</see>, <see cref="M:PuppeteerSharp.Request.ContinueAsync(PuppeteerSharp.Payload)">request.ContinueAsync</see> and <see cref="M:PuppeteerSharp.Request.RespondAsync(PuppeteerSharp.ResponseData)">request.RespondAsync</see> methods. </summary> <returns>The request interception task.</returns> <param name="value">Whether to enable request interception..</param> </member> <member name="M:PuppeteerSharp.Page.SetOfflineModeAsync(System.Boolean)"> <summary> Set offline mode for the page. </summary> <returns>Result task</returns> <param name="value">When <c>true</c> enables offline mode for the page.</param> </member> <member name="M:PuppeteerSharp.Page.GetCookiesAsync(System.String[])"> <summary> Returns the page's cookies </summary> <param name="urls">Url's to return cookies for</param> <returns>Array of cookies</returns> <remarks> If no URLs are specified, this method returns cookies for the current page URL. If URLs are specified, only cookies for those URLs are returned. </remarks> </member> <member name="M:PuppeteerSharp.Page.SetCookieAsync(PuppeteerSharp.CookieParam[])"> <summary> Clears all of the current cookies and then sets the cookies for the page </summary> <param name="cookies">Cookies to set</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.DeleteCookieAsync(PuppeteerSharp.CookieParam[])"> <summary> Deletes cookies from the page </summary> <param name="cookies">Cookies to delete</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.AddScriptTagAsync(PuppeteerSharp.AddTagOptions)"> <summary> Adds a <c><![CDATA[<script>]]></c> tag into the page with the desired url or content </summary> <param name="options">add script tag options</param> <remarks> Shortcut for <c>page.MainFrame.AddScriptTagAsync(options)</c> </remarks> <returns>Task which resolves to the added tag when the script's onload fires or when the script content was injected into frame</returns> <seealso cref="M:PuppeteerSharp.Frame.AddScriptTag(PuppeteerSharp.AddTagOptions)"/> </member> <member name="M:PuppeteerSharp.Page.AddScriptTagAsync(System.String)"> <summary> Adds a <c><![CDATA[<script>]]></c> tag into the page with the desired url or content </summary> <param name="url">script url</param> <remarks> Shortcut for <c>page.MainFrame.AddScriptTagAsync(new AddTagOptions { Url = url })</c> </remarks> <returns>Task which resolves to the added tag when the script's onload fires or when the script content was injected into frame</returns> </member> <member name="M:PuppeteerSharp.Page.AddStyleTagAsync(PuppeteerSharp.AddTagOptions)"> <summary> Adds a <c><![CDATA[<link rel="stylesheet">]]></c> tag into the page with the desired url or a <c><![CDATA[<link rel="stylesheet">]]></c> tag with the content </summary> <param name="options">add style tag options</param> <remarks> Shortcut for <c>page.MainFrame.AddStyleTagAsync(options)</c> </remarks> <returns>Task which resolves to the added tag when the stylesheet's onload fires or when the CSS content was injected into frame</returns> <seealso cref="M:PuppeteerSharp.Frame.AddStyleTag(PuppeteerSharp.AddTagOptions)"/> </member> <member name="M:PuppeteerSharp.Page.AddStyleTagAsync(System.String)"> <summary> Adds a <c><![CDATA[<link rel="stylesheet">]]></c> tag into the page with the desired url or a <c><![CDATA[<link rel="stylesheet">]]></c> tag with the content </summary> <param name="url">stylesheel url</param> <remarks> Shortcut for <c>page.MainFrame.AddStyleTagAsync(new AddTagOptions { Url = url })</c> </remarks> <returns>Task which resolves to the added tag when the stylesheet's onload fires or when the CSS content was injected into frame</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync(System.String,System.Action)"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves when <paramref name="puppeteerFunction"/> completes. </summary> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync(System.String,System.Action)"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync``1(System.String,System.Func{``0})"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves to the return value of <paramref name="puppeteerFunction"/>. </summary> <typeparam name="TResult">The result of <paramref name="puppeteerFunction"/></typeparam> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync``1(System.String,System.Func{``0})"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync``2(System.String,System.Func{``0,``1})"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves to the return value of <paramref name="puppeteerFunction"/>. </summary> <typeparam name="TResult">The result of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T">The parameter of <paramref name="puppeteerFunction"/></typeparam> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync``2(System.String,System.Func{``0,``1})"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync``3(System.String,System.Func{``0,``1,``2})"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves to the return value of <paramref name="puppeteerFunction"/>. </summary> <typeparam name="TResult">The result of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T1">The first parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T2">The second parameter of <paramref name="puppeteerFunction"/></typeparam> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync``3(System.String,System.Func{``0,``1,``2})"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync``4(System.String,System.Func{``0,``1,``2,``3})"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves to the return value of <paramref name="puppeteerFunction"/>. </summary> <typeparam name="TResult">The result of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T1">The first parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T2">The second parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T3">The third parameter of <paramref name="puppeteerFunction"/></typeparam> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync``4(System.String,System.Func{``0,``1,``2,``3})"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ExposeFunctionAsync``5(System.String,System.Func{``0,``1,``2,``3,``4})"> <summary> Adds a function called <c>name</c> on the page's <c>window</c> object. When called, the function executes <paramref name="puppeteerFunction"/> in C# and returns a <see cref="T:System.Threading.Tasks.Task"/> which resolves to the return value of <paramref name="puppeteerFunction"/>. </summary> <typeparam name="TResult">The result of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T1">The first parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T2">The second parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T3">The third parameter of <paramref name="puppeteerFunction"/></typeparam> <typeparam name="T4">The fourth parameter of <paramref name="puppeteerFunction"/></typeparam> <param name="name">Name of the function on the window object</param> <param name="puppeteerFunction">Callback function which will be called in Puppeteer's context.</param> <remarks> If the <paramref name="puppeteerFunction"/> returns a <see cref="T:System.Threading.Tasks.Task"/>, it will be awaited. Functions installed via <see cref="M:PuppeteerSharp.Page.ExposeFunctionAsync``5(System.String,System.Func{``0,``1,``2,``3,``4})"/> survive navigations </remarks> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.GetContentAsync"> <summary> Gets the full HTML contents of the page, including the doctype. </summary> <returns>Task which resolves to the HTML content.</returns> <seealso cref="M:PuppeteerSharp.Frame.GetContentAsync"/> </member> <member name="M:PuppeteerSharp.Page.SetContentAsync(System.String)"> <summary> Sets the HTML markup to the page </summary> <param name="html">HTML markup to assign to the page.</param> <returns>Task.</returns> <seealso cref="M:PuppeteerSharp.Frame.SetContentAsync(System.String)"/> </member> <member name="M:PuppeteerSharp.Page.GoToAsync(System.String,PuppeteerSharp.NavigationOptions)"> <summary> Navigates to an url </summary> <param name="url">URL to navigate page to. The url should include scheme, e.g. https://.</param> <param name="options">Navigation parameters.</param> <returns>Task which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect.</returns> <seealso cref="M:PuppeteerSharp.Page.GoToAsync(System.String,System.Nullable{System.Int32},PuppeteerSharp.WaitUntilNavigation[])"/> </member> <member name="M:PuppeteerSharp.Page.GoToAsync(System.String,System.Nullable{System.Int32},PuppeteerSharp.WaitUntilNavigation[])"> <summary> Navigates to an url </summary> <param name="url">URL to navigate page to. The url should include scheme, e.g. https://.</param> <param name="timeout">Maximum navigation time in milliseconds, defaults to 30 seconds, pass <c>0</c> to disable timeout. </param> <param name="waitUntil">When to consider navigation succeeded, defaults to <see cref="F:PuppeteerSharp.WaitUntilNavigation.Load"/>. Given an array of <see cref="T:PuppeteerSharp.WaitUntilNavigation"/>, navigation is considered to be successful after all events have been fired</param> <returns>Task which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect</returns> <seealso cref="M:PuppeteerSharp.Page.GoToAsync(System.String,PuppeteerSharp.NavigationOptions)"/> </member> <member name="M:PuppeteerSharp.Page.PdfAsync(System.String)"> <summary> generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <param name="file">The file path to save the PDF to. paths are resolved using <see cref="M:System.IO.Path.GetFullPath(System.String)"/></param> <returns></returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.PdfAsync(System.String,PuppeteerSharp.PdfOptions)"> <summary> generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <param name="file">The file path to save the PDF to. paths are resolved using <see cref="M:System.IO.Path.GetFullPath(System.String)"/></param> <param name="options">pdf options</param> <returns></returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.PdfStreamAsync"> <summary> generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the PDF data.</returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.PdfStreamAsync(PuppeteerSharp.PdfOptions)"> <summary> Generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <param name="options">pdf options</param> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the PDF data.</returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.PdfDataAsync"> <summary> Generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the PDF data.</returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.PdfDataAsync(PuppeteerSharp.PdfOptions)"> <summary> Generates a pdf of the page with <see cref="F:PuppeteerSharp.Media.MediaType.Print"/> css media. To generate a pdf with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> media call <see cref="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"/> with <see cref="F:PuppeteerSharp.Media.MediaType.Screen"/> </summary> <param name="options">pdf options</param> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the PDF data.</returns> <remarks> Generating a pdf is currently only supported in Chrome headless </remarks> </member> <member name="M:PuppeteerSharp.Page.SetJavaScriptEnabledAsync(System.Boolean)"> <summary> Enables/Disables Javascript on the page </summary> <returns>Task.</returns> <param name="enabled">Whether or not to enable JavaScript on the page.</param> </member> <member name="M:PuppeteerSharp.Page.SetBypassCSPAsync(System.Boolean)"> <summary> Toggles bypassing page's Content-Security-Policy. </summary> <param name="enabled">sets bypassing of page's Content-Security-Policy.</param> <returns></returns> <remarks> CSP bypassing happens at the moment of CSP initialization rather then evaluation. Usually this means that <see cref="M:PuppeteerSharp.Page.SetBypassCSPAsync(System.Boolean)"/> should be called before navigating to the domain. </remarks> </member> <member name="M:PuppeteerSharp.Page.EmulateMediaAsync(PuppeteerSharp.Media.MediaType)"> <summary> Emulates a media such as screen or print. </summary> <returns>Task.</returns> <param name="media">Media to set.</param> </member> <member name="M:PuppeteerSharp.Page.SetViewportAsync(PuppeteerSharp.ViewPortOptions)"> <summary> Sets the viewport. In the case of multiple pages in a single browser, each page can have its own viewport size. NOTE in certain cases, setting viewport will reload the page in order to set the isMobile or hasTouch properties. </summary> <returns>The viewport task.</returns> <param name="viewport">Viewport options.</param> </member> <member name="M:PuppeteerSharp.Page.EmulateAsync(PuppeteerSharp.Mobile.DeviceDescriptor)"> <summary> Emulates given device metrics and user agent. </summary> <remarks> This method is a shortcut for calling two methods: page.SetViewportAsync(userAgent) page.SetUserAgentAsync(viewport) </remarks> <returns>Task.</returns> <param name="options">Emulation options.</param> </member> <member name="M:PuppeteerSharp.Page.ScreenshotAsync(System.String)"> <summary> Takes a screenshot of the page </summary> <returns>The screenshot task.</returns> <param name="file">The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.</param> </member> <member name="M:PuppeteerSharp.Page.ScreenshotAsync(System.String,PuppeteerSharp.ScreenshotOptions)"> <summary> Takes a screenshot of the page </summary> <returns>The screenshot task.</returns> <param name="file">The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.</param> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.Page.ScreenshotStreamAsync"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the image data.</returns> </member> <member name="M:PuppeteerSharp.Page.ScreenshotStreamAsync(PuppeteerSharp.ScreenshotOptions)"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.IO.Stream"/> containing the image data.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.Page.ScreenshotBase64Async"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.String"/> containing the image data as base64.</returns> </member> <member name="M:PuppeteerSharp.Page.ScreenshotBase64Async(PuppeteerSharp.ScreenshotOptions)"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.String"/> containing the image data as base64.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.Page.ScreenshotDataAsync"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the image data.</returns> </member> <member name="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"> <summary> Takes a screenshot of the page </summary> <returns>Task which resolves to a <see cref="T:System.Byte"/>[] containing the image data.</returns> <param name="options">Screenshot options.</param> </member> <member name="M:PuppeteerSharp.Page.GetTitleAsync"> <summary> Returns page's title </summary> <returns>page's title</returns> <see cref="M:PuppeteerSharp.Frame.GetTitleAsync"/> </member> <member name="M:PuppeteerSharp.Page.CloseAsync(PuppeteerSharp.PageCloseOptions)"> <summary> Closes the page. </summary> <returns>Task.</returns> </member> <member name="M:PuppeteerSharp.Page.SetCacheEnabledAsync(System.Boolean)"> <summary> Toggles ignoring cache for each request based on the enabled state. By default, caching is enabled. </summary> <param name="enabled">sets the <c>enabled</c> state of the cache</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.ClickAsync(System.String,PuppeteerSharp.Input.ClickOptions)"> <summary> Fetches an element with <paramref name="selector"/>, scrolls it into view if needed, and then uses <see cref="P:PuppeteerSharp.Page.Mouse"/> to click in the center of the element. </summary> <param name="selector">A selector to search for element to click. If there are multiple elements satisfying the selector, the first will be clicked.</param> <param name="options">click options</param> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <returns>Task which resolves when the element matching <paramref name="selector"/> is successfully clicked</returns> </member> <member name="M:PuppeteerSharp.Page.HoverAsync(System.String)"> <summary> Fetches an element with <paramref name="selector"/>, scrolls it into view if needed, and then uses <see cref="P:PuppeteerSharp.Page.Mouse"/> to hover over the center of the element. </summary> <param name="selector">A selector to search for element to hover. If there are multiple elements satisfying the selector, the first will be hovered.</param> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <returns>Task which resolves when the element matching <paramref name="selector"/> is successfully hovered</returns> </member> <member name="M:PuppeteerSharp.Page.FocusAsync(System.String)"> <summary> Fetches an element with <paramref name="selector"/> and focuses it </summary> <param name="selector">A selector to search for element to focus. If there are multiple elements satisfying the selector, the first will be focused.</param> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <returns>Task which resolves when the element matching <paramref name="selector"/> is successfully focused</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateExpressionAsync(System.String)"> <summary> Executes a script in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <seealso cref="M:PuppeteerSharp.Page.EvaluateFunctionAsync(System.String,System.Object[])"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateExpressionAsync``1(System.String)"> <summary> Executes a script in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. </remarks> <seealso cref="M:PuppeteerSharp.Page.EvaluateFunctionAsync``1(System.String,System.Object[])"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateFunctionAsync(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <seealso cref="M:PuppeteerSharp.Page.EvaluateExpressionAsync(System.String)"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.EvaluateFunctionAsync``1(System.String,System.Object[])"> <summary> Executes a function in browser context </summary> <typeparam name="T">The type to deserialize the result to</typeparam> <param name="script">Script to be evaluated in browser context</param> <param name="args">Arguments to pass to script</param> <remarks> If the script, returns a Promise, then the method would wait for the promise to resolve and return its value. <see cref="T:PuppeteerSharp.JSHandle"/> instances can be passed as arguments </remarks> <seealso cref="M:PuppeteerSharp.Page.EvaluateExpressionAsync``1(System.String)"/> <returns>Task which resolves to script return value</returns> </member> <member name="M:PuppeteerSharp.Page.SetUserAgentAsync(System.String)"> <summary> Sets the user agent to be used in this page </summary> <param name="userAgent">Specific user agent to use in this page</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.SetExtraHttpHeadersAsync(System.Collections.Generic.Dictionary{System.String,System.String})"> <summary> Sets extra HTTP headers that will be sent with every request the page initiates </summary> <param name="headers">Additional http headers to be sent with every request</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.AuthenticateAsync(PuppeteerSharp.Credentials)"> <summary> Provide credentials for http authentication <see href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication"/> </summary> <param name="credentials">The credentials</param> <returns></returns> <remarks> To disable authentication, pass <c>null</c> </remarks> </member> <member name="M:PuppeteerSharp.Page.ReloadAsync(PuppeteerSharp.NavigationOptions)"> <summary> Reloads the page </summary> <param name="options">Navigation options</param> <returns>Task which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect</returns> <seealso cref="M:PuppeteerSharp.Page.ReloadAsync(System.Nullable{System.Int32},PuppeteerSharp.WaitUntilNavigation[])"/> </member> <member name="M:PuppeteerSharp.Page.ReloadAsync(System.Nullable{System.Int32},PuppeteerSharp.WaitUntilNavigation[])"> <summary> Reloads the page </summary> <param name="timeout">Maximum navigation time in milliseconds, defaults to 30 seconds, pass <c>0</c> to disable timeout. </param> <param name="waitUntil">When to consider navigation succeeded, defaults to <see cref="F:PuppeteerSharp.WaitUntilNavigation.Load"/>. Given an array of <see cref="T:PuppeteerSharp.WaitUntilNavigation"/>, navigation is considered to be successful after all events have been fired</param> <returns>Task which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect</returns> <seealso cref="M:PuppeteerSharp.Page.ReloadAsync(PuppeteerSharp.NavigationOptions)"/> </member> <member name="M:PuppeteerSharp.Page.SelectAsync(System.String,System.String[])"> <summary> Triggers a change and input event once all the provided options have been selected. If there's no <![CDATA[<select>]]> element matching selector, the method throws an error. </summary> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <param name="selector">A selector to query page for</param> <param name="values">Values of options to select. If the <![CDATA[<select>]]> has the multiple attribute, all values are considered, otherwise only the first one is taken into account.</param> <returns>Returns an array of option values that have been successfully selected.</returns> <seealso cref="M:PuppeteerSharp.Frame.SelectAsync(System.String,System.String[])"/> </member> <member name="M:PuppeteerSharp.Page.TypeAsync(System.String,System.String,PuppeteerSharp.Input.TypeOptions)"> <summary> Sends a <c>keydown</c>, <c>keypress</c>/<c>input</c>, and <c>keyup</c> event for each character in the text. </summary> <param name="selector">A selector of an element to type into. If there are multiple elements satisfying the selector, the first will be used.</param> <param name="text">A text to type into a focused element</param> <param name="options"></param> <exception cref="T:PuppeteerSharp.SelectorException">If there's no element matching <paramref name="selector"/></exception> <remarks> To press a special key, like <c>Control</c> or <c>ArrowDown</c> use <see cref="M:PuppeteerSharp.Input.Keyboard.PressAsync(System.String,PuppeteerSharp.Input.PressOptions)"/> </remarks> <example> <code> page.TypeAsync("#mytextarea", "Hello"); // Types instantly page.TypeAsync("#mytextarea", "World", new TypeOptions { Delay = 100 }); // Types slower, like a user </code> </example> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Page.WaitForTimeoutAsync(System.Int32)"> <summary> Waits for a timeout </summary> <param name="milliseconds"></param> <returns>A task that resolves when after the timeout</returns> <seealso cref="M:PuppeteerSharp.Frame.WaitForTimeoutAsync(System.Int32)"/> </member> <member name="M:PuppeteerSharp.Page.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"> <summary> Waits for a function to be evaluated to a truthy value </summary> <param name="script">Function to be evaluated in browser context</param> <param name="options">Optional waiting parameters</param> <param name="args">Arguments to pass to <c>script</c></param> <returns>A task that resolves when the <c>script</c> returns a truthy value</returns> <seealso cref="M:PuppeteerSharp.Frame.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"/> </member> <member name="M:PuppeteerSharp.Page.WaitForFunctionAsync(System.String,System.Object[])"> <summary> Waits for a function to be evaluated to a truthy value </summary> <param name="script">Function to be evaluated in browser context</param> <param name="args">Arguments to pass to <c>script</c></param> <returns>A task that resolves when the <c>script</c> returns a truthy value</returns> </member> <member name="M:PuppeteerSharp.Page.WaitForExpressionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions)"> <summary> Waits for an expression to be evaluated to a truthy value </summary> <param name="script">Expression to be evaluated in browser context</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when the <c>script</c> returns a truthy value</returns> <seealso cref="M:PuppeteerSharp.Frame.WaitForExpressionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions)"/> </member> <member name="M:PuppeteerSharp.Page.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"> <summary> Waits for a selector to be added to the DOM </summary> <param name="selector">A selector of an element to wait for</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when element specified by selector string is added to DOM</returns> <seealso cref="M:PuppeteerSharp.Page.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> <seealso cref="M:PuppeteerSharp.Frame.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> </member> <member name="M:PuppeteerSharp.Page.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"> <summary> Waits for a xpath selector to be added to the DOM </summary> <param name="xpath">A xpath selector of an element to wait for</param> <param name="options">Optional waiting parameters</param> <returns>A task that resolves when element specified by selector string is added to DOM</returns> <example> <code> <![CDATA[ var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); string currentURL = null; page .WaitForXPathAsync("//img") .ContinueWith(_ => Console.WriteLine("First URL with image: " + currentURL)); foreach (var current in new[] { "https://example.com", "https://google.com", "https://bbc.com" }) { currentURL = current; await page.GoToAsync(currentURL); } await browser.CloseAsync(); ]]> </code> </example> <seealso cref="M:PuppeteerSharp.Page.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> <seealso cref="M:PuppeteerSharp.Frame.WaitForXPathAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> </member> <member name="M:PuppeteerSharp.Page.WaitForNavigationAsync(PuppeteerSharp.NavigationOptions)"> <summary> This resolves when the page navigates to a new URL or reloads. It is useful for when you run code which will indirectly cause the page to navigate. </summary> <param name="options">navigation options</param> <returns>Task which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect</returns> <remarks> Usage of the <c>History API</c> <see href="https://developer.mozilla.org/en-US/docs/Web/API/History_API"/> to change the URL is considered a navigation </remarks> <example> <code> <![CDATA[ var navigationTask = page.WaitForNavigationAsync(); await page.ClickAsync("a.my-link"); await navigationTask; ]]> </code> </example> </member> <member name="M:PuppeteerSharp.Page.GoBackAsync(PuppeteerSharp.NavigationOptions)"> <summary> Navigate to the previous page in history. </summary> <returns>Task which which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect. If can not go back, resolves to null.</returns> <param name="options">Navigation parameters.</param> </member> <member name="M:PuppeteerSharp.Page.GoForwardAsync(PuppeteerSharp.NavigationOptions)"> <summary> Navigate to the next page in history. </summary> <returns>Task which which resolves to the main resource response. In case of multiple redirects, the navigation will resolve with the response of the last redirect. If can not go forward, resolves to null.</returns> <param name="options">Navigation parameters.</param> </member> <member name="M:PuppeteerSharp.Page.Dispose"> <summary> Releases all resource used by the <see cref="T:PuppeteerSharp.Page"/> object by calling the <see cref="M:PuppeteerSharp.Page.CloseAsync(PuppeteerSharp.PageCloseOptions)"/> method. </summary> <remarks>Call <see cref="M:PuppeteerSharp.Page.Dispose"/> when you are finished using the <see cref="T:PuppeteerSharp.Page"/>. The <see cref="M:PuppeteerSharp.Page.Dispose"/> method leaves the <see cref="T:PuppeteerSharp.Page"/> in an unusable state. After calling <see cref="M:PuppeteerSharp.Page.Dispose"/>, you must release all references to the <see cref="T:PuppeteerSharp.Page"/> so the garbage collector can reclaim the memory that the <see cref="T:PuppeteerSharp.Page"/> was occupying.</remarks> </member> <member name="T:PuppeteerSharp.PageCloseOptions"> <summary> Page close options. </summary> <seealso cref="M:PuppeteerSharp.Page.CloseAsync(PuppeteerSharp.PageCloseOptions)"/> </member> <member name="P:PuppeteerSharp.PageCloseOptions.RunBeforeUnload"> <summary> Defaults to <c>false</c>. Whether to run the beforeunload page handlers. </summary> <see href="https://developer.mozilla.org/en-US/docs/Web/Events/beforeunload"/> </member> <member name="T:PuppeteerSharp.PageCoverage.Coverage"> <summary> gathers information about parts of JavaScript and CSS that were used by the page. </summary> </member> <member name="M:PuppeteerSharp.PageCoverage.Coverage.StartJSCoverageAsync(PuppeteerSharp.PageCoverage.CoverageStartOptions)"> <summary> Starts JS coverage </summary> <param name="options">Set of configurable options for coverage</param> <returns>A task that resolves when coverage is started</returns> </member> <member name="M:PuppeteerSharp.PageCoverage.Coverage.StopJSCoverageAsync"> <summary> Stops JS coverage and returns coverage reports for all non-anonymous scripts </summary> <returns>Task that resolves to the array of coverage reports for all stylesheets</returns> <remarks> JavaScript Coverage doesn't include anonymous scripts; however, scripts with sourceURLs are reported. </remarks> </member> <member name="M:PuppeteerSharp.PageCoverage.Coverage.StartCSSCoverageAsync(PuppeteerSharp.PageCoverage.CoverageStartOptions)"> <summary> Starts CSS coverage </summary> <param name="options">Set of configurable options for coverage</param> <returns>A task that resolves when coverage is started</returns> </member> <member name="M:PuppeteerSharp.PageCoverage.Coverage.StopCSSCoverageAsync"> <summary> Stops JS coverage and returns coverage reports for all non-anonymous scripts </summary> <returns>Task that resolves to the array of coverage reports for all stylesheets</returns> <remarks> JavaScript Coverage doesn't include anonymous scripts; however, scripts with sourceURLs are reported. </remarks> </member> <member name="T:PuppeteerSharp.PageCoverage.CoverageEntry"> <summary> Coverage report for all non-anonymous scripts. </summary> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageEntry.Url"> <summary> Script URL </summary> <value>Script URL.</value> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageEntry.Ranges"> <summary> Script ranges that were executed. Ranges are sorted and non-overlapping. </summary> <value>Ranges.</value> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageEntry.Text"> <summary> Script content </summary> <value>Script content.</value> </member> <member name="T:PuppeteerSharp.PageCoverage.CoverageEntryRange"> <summary> Script range. </summary> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageEntryRange.Start"> <summary> A start offset in text, inclusive. </summary> <value>Start offset.</value> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageEntryRange.End"> <summary> An end offset in text, exclusive. </summary> <value>End offset.</value> </member> <member name="M:PuppeteerSharp.PageCoverage.CoverageEntryRange.Equals(System.Object)"> <inheritdoc/> </member> <member name="M:PuppeteerSharp.PageCoverage.CoverageEntryRange.GetHashCode"> <inheritdoc/> </member> <member name="T:PuppeteerSharp.PageCoverage.CoverageStartOptions"> <summary> Set of configurable options for coverage </summary> </member> <member name="P:PuppeteerSharp.PageCoverage.CoverageStartOptions.ResetOnNavigation"> <summary> Whether to reset coverage on every navigation. Defaults to <c>true</c>. </summary> </member> <member name="T:PuppeteerSharp.PageErrorEventArgs"> <summary> Page error event arguments. </summary> </member> <member name="P:PuppeteerSharp.PageErrorEventArgs.Message"> <summary> Error Message </summary> <value>The message.</value> </member> <member name="M:PuppeteerSharp.PageErrorEventArgs.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.PageErrorEventArgs"/> class. </summary> <param name="message">Message.</param> </member> <member name="T:PuppeteerSharp.Payload"> <summary> Payload information. </summary> </member> <member name="P:PuppeteerSharp.Payload.Method"> <summary> Gets or sets the HTTP method. </summary> <value>HTTP method.</value> </member> <member name="P:PuppeteerSharp.Payload.PostData"> <summary> Gets or sets the post data. </summary> <value>The post data.</value> </member> <member name="P:PuppeteerSharp.Payload.Headers"> <summary> Gets or sets the HTTP headers. </summary> <value>HTTP headers.</value> </member> <member name="P:PuppeteerSharp.Payload.Url"> <summary> Gets or sets the URL. </summary> <value>The URL.</value> </member> <member name="T:PuppeteerSharp.PdfOptions"> <summary> Options to be used in <see cref="M:PuppeteerSharp.Page.PdfAsync(System.String,PuppeteerSharp.PdfOptions)"/>, <see cref="M:PuppeteerSharp.Page.PdfStreamAsync(PuppeteerSharp.PdfOptions)"/> and <see cref="M:PuppeteerSharp.Page.PdfDataAsync(PuppeteerSharp.PdfOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.Scale"> <summary> Scale of the webpage rendering. Defaults to <c>1</c> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.DisplayHeaderFooter"> <summary> Display header and footer. Defaults to <c>false</c> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.HeaderTemplate"> <summary> HTML template for the print header. Should be valid HTML markup with following classes used to inject printing values into them: <c>date</c> - formatted print date <c>title</c> - document title <c>url</c> - document location <c>pageNumber</c> - current page number <c>totalPages</c> - total pages in the document </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.FooterTemplate"> <summary> HTML template for the print footer. Should be valid HTML markup with following classes used to inject printing values into them: <c>date</c> - formatted print date <c>title</c> - document title <c>url</c> - document location <c>pageNumber</c> - current page number <c>totalPages</c> - total pages in the document </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.PrintBackground"> <summary> Print background graphics. Defaults to <c>false</c> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.Landscape"> <summary> Paper orientation.. Defaults to <c>false</c> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.PageRanges"> <summary> Paper ranges to print, e.g., <c>1-5, 8, 11-13</c>. Defaults to the empty string, which means print all pages </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.Format"> <summary> Paper format. If set, takes priority over <see cref="P:PuppeteerSharp.PdfOptions.Width"/> and <see cref="P:PuppeteerSharp.PdfOptions.Height"/> </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.Width"> <summary> Paper width, accepts values labeled with units </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.Height"> <summary> Paper height, accepts values labeled with units </summary> </member> <member name="P:PuppeteerSharp.PdfOptions.MarginOptions"> <summary> Paper margins, defaults to none </summary> </member> <member name="T:PuppeteerSharp.Platform"> <summary> Platform used by a <see cref="T:PuppeteerSharp.BrowserFetcher"/>. </summary> </member> <member name="F:PuppeteerSharp.Platform.Unknown"> <summary> Unknown. </summary> </member> <member name="F:PuppeteerSharp.Platform.MacOS"> <summary> MacOS. </summary> </member> <member name="F:PuppeteerSharp.Platform.Linux"> <summary> Linux. </summary> </member> <member name="F:PuppeteerSharp.Platform.Win32"> <summary> Win32. </summary> </member> <member name="F:PuppeteerSharp.Platform.Win64"> <summary> Win64. </summary> </member> <member name="T:PuppeteerSharp.Puppeteer"> <summary> Provides a method to launch a Chromium instance. </summary> <example> The following is a typical example of using a Puppeteer to drive automation: <code> var browser = await Puppeteer.LaunchAsync(new LaunchOptions()); var page = await browser.NewPageAsync(); await page.GoToAsync("https://www.google.com"); await Browser.CloseAsync(); </code> </example> </member> <member name="P:PuppeteerSharp.Puppeteer.DefaultArgs"> <summary> The default flags that Chromium will be launched with. </summary> </member> <member name="M:PuppeteerSharp.Puppeteer.GetExecutablePath"> <summary> A path where Puppeteer expects to find bundled Chromium. Chromium might not exist there if the downloader was not used. </summary> <returns>The path to chrome.exe</returns> </member> <member name="M:PuppeteerSharp.Puppeteer.LaunchAsync(PuppeteerSharp.LaunchOptions,Microsoft.Extensions.Logging.ILoggerFactory)"> <summary> The method launches a browser instance with given arguments. The browser will be closed when the Browser is disposed. </summary> <param name="options">Options for launching Chrome</param> <param name="loggerFactory">The logger factory</param> <returns>A connected browser.</returns> <remarks> See <a href="https://www.howtogeek.com/202825/what%E2%80%99s-the-difference-between-chromium-and-chrome/">this article</a> for a description of the differences between Chromium and Chrome. <a href="https://chromium.googlesource.com/chromium/src/+/lkcr/docs/chromium_browser_vs_google_chrome.md">This article</a> describes some differences for Linux users. </remarks> </member> <member name="M:PuppeteerSharp.Puppeteer.ConnectAsync(PuppeteerSharp.ConnectOptions,Microsoft.Extensions.Logging.ILoggerFactory)"> <summary> Attaches Puppeteer to an existing Chromium instance. The browser will be closed when the Browser is disposed. </summary> <param name="options">Options for connecting.</param> <param name="loggerFactory">The logger factory</param> <returns>A connected browser.</returns> </member> <member name="M:PuppeteerSharp.Puppeteer.CreateBrowserFetcher(PuppeteerSharp.BrowserFetcherOptions)"> <summary> Creates the browser fetcher. </summary> <returns>The browser fetcher.</returns> <param name="options">Options.</param> </member> <member name="T:PuppeteerSharp.PuppeteerException"> <summary> Base exception used to identify any exception thrown by PuppeteerSharp </summary> </member> <member name="M:PuppeteerSharp.PuppeteerException.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.PuppeteerException"/> class. </summary> </member> <member name="M:PuppeteerSharp.PuppeteerException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.PuppeteerException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.PuppeteerException.#ctor(System.String,System.Exception)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.PuppeteerException"/> class. </summary> <param name="message">Message.</param> <param name="innerException">Inner exception.</param> </member> <member name="M:PuppeteerSharp.PuppeteerException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.PuppeteerException"/> class. </summary> <param name="info">Info.</param> <param name="context">Context.</param> </member> <member name="T:PuppeteerSharp.Request"> <summary> Whenever the page sends a request, the following events are emitted by puppeteer's page: <see cref="E:PuppeteerSharp.Page.Request"/> emitted when the request is issued by the page. <see cref="E:PuppeteerSharp.Page.Response"/> emitted when/if the response is received for the request. <see cref="E:PuppeteerSharp.Page.RequestFinished"/> emitted when the response body is downloaded and the request is complete. If request fails at some point, then instead of <see cref="E:PuppeteerSharp.Page.RequestFinished"/> event (and possibly instead of <see cref="E:PuppeteerSharp.Page.Response"/> event), the <see cref="E:PuppeteerSharp.Page.RequestFailed"/> event is emitted. If request gets a 'redirect' response, the request is successfully finished with the <see cref="E:PuppeteerSharp.Page.RequestFinished"/> event, and a new request is issued to a redirected url. </summary> </member> <member name="P:PuppeteerSharp.Request.Response"> <summary> Responsed attached to the request. </summary> <value>The response.</value> </member> <member name="P:PuppeteerSharp.Request.Failure"> <summary> Gets or sets the failure. </summary> <value>The failure.</value> </member> <member name="P:PuppeteerSharp.Request.RequestId"> <summary> Gets or sets the request identifier. </summary> <value>The request identifier.</value> </member> <member name="P:PuppeteerSharp.Request.InterceptionId"> <summary> Gets or sets the interception identifier. </summary> <value>The interception identifier.</value> </member> <member name="P:PuppeteerSharp.Request.ResourceType"> <summary> Gets or sets the type of the resource. </summary> <value>The type of the resource.</value> </member> <member name="P:PuppeteerSharp.Request.Frame"> <summary> Gets the frame. </summary> <value>The frame.</value> </member> <member name="P:PuppeteerSharp.Request.IsNavigationRequest"> <summary> Gets whether this request is driving frame's navigation </summary> </member> <member name="P:PuppeteerSharp.Request.Method"> <summary> Gets or sets the HTTP method. </summary> <value>HTTP method.</value> </member> <member name="P:PuppeteerSharp.Request.PostData"> <summary> Gets or sets the post data. </summary> <value>The post data.</value> </member> <member name="P:PuppeteerSharp.Request.Headers"> <summary> Gets or sets the HTTP headers. </summary> <value>HTTP headers.</value> </member> <member name="P:PuppeteerSharp.Request.Url"> <summary> Gets or sets the URL. </summary> <value>The URL.</value> </member> <member name="P:PuppeteerSharp.Request.RedirectChain"> <summary> A redirectChain is a chain of requests initiated to fetch a resource. If there are no redirects and the request was successful, the chain will be empty. If a server responds with at least a single redirect, then the chain will contain all the requests that were redirected. redirectChain is shared between all the requests of the same chain. </summary> <example> For example, if the website http://example.com has a single redirect to https://example.com, then the chain will contain one request: <code> var response = await page.GoToAsync("http://example.com"); var chain = response.Request.RedirectChain; Console.WriteLine(chain.Length); // 1 Console.WriteLine(chain[0].Url); // 'http://example.com' </code> If the website https://google.com has no redirects, then the chain will be empty: <code> var response = await page.GoToAsync("https://google.com"); var chain = response.Request.RedirectChain; Console.WriteLine(chain.Length); // 0 </code> </example> <value>The redirect chain.</value> </member> <member name="M:PuppeteerSharp.Request.ContinueAsync(PuppeteerSharp.Payload)"> <summary> Continues request with optional request overrides. To use this, request interception should be enabled with <see cref="M:PuppeteerSharp.Page.SetRequestInterceptionAsync(System.Boolean)"/>. Exception is immediately thrown if the request interception is not enabled. </summary> <param name="overrides">Optional request overwrites.</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Request.RespondAsync(PuppeteerSharp.ResponseData)"> <summary> Fulfills request with given response. To use this, request interception should be enabled with <see cref="M:PuppeteerSharp.Page.SetRequestInterceptionAsync(System.Boolean)"/>. Exception is thrown if request interception is not enabled. </summary> <param name="response">Response that will fulfill this request</param> <returns>Task</returns> </member> <member name="M:PuppeteerSharp.Request.AbortAsync(PuppeteerSharp.RequestAbortErrorCode)"> <summary> Aborts request. To use this, request interception should be enabled with <see cref="M:PuppeteerSharp.Page.SetRequestInterceptionAsync(System.Boolean)"/>. Exception is immediately thrown if the request interception is not enabled. </summary> <param name="errorCode">Optional error code. Defaults to <see cref="F:PuppeteerSharp.RequestAbortErrorCode.Failed"/></param> <returns>Task</returns> </member> <member name="T:PuppeteerSharp.RequestAbortErrorCode"> <summary> Abort error codes. used by <see cref="M:PuppeteerSharp.Request.AbortAsync(PuppeteerSharp.RequestAbortErrorCode)"/> </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.Aborted"> <summary> An operation was aborted (due to user action) </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.AccessDenied"> <summary> Permission to access a resource, other than the network, was denied </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.AddressUnreachable"> <summary> The IP address is unreachable. This usually means that there is no route to the specified host or network. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.ConnectionAborted"> <summary> A connection timed out as a result of not receiving an ACK for data sent. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.ConnectionClosed"> <summary> A connection was closed (corresponding to a TCP FIN). </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.ConnectionFailed"> <summary> A connection attempt failed. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.ConnectionRefused"> <summary> A connection attempt was refused. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.ConnectionReset"> <summary> A connection was reset (corresponding to a TCP RST). </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.InternetDisconnected"> <summary> The Internet connection has been lost. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.NameNotResolved"> <summary> The host name could not be resolved. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.TimedOut"> <summary> An operation timed out. </summary> </member> <member name="F:PuppeteerSharp.RequestAbortErrorCode.Failed"> <summary> A generic failure occurred. </summary> </member> <member name="T:PuppeteerSharp.RequestEventArgs"> <summary> Arguments used by <see cref="T:PuppeteerSharp.Page"/> events. </summary> <seealso cref="E:PuppeteerSharp.Page.Request"/> <seealso cref="E:PuppeteerSharp.Page.RequestFailed"/> <seealso cref="E:PuppeteerSharp.Page.RequestFinished"/> </member> <member name="P:PuppeteerSharp.RequestEventArgs.Request"> <summary> Gets or sets the request. </summary> <value>The request.</value> </member> <member name="T:PuppeteerSharp.ResourceType"> <summary> Resource type. </summary> <seealso cref="P:PuppeteerSharp.Request.ResourceType"/> </member> <member name="F:PuppeteerSharp.ResourceType.Document"> <summary> Document. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.StyleSheet"> <summary> Stylesheet. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Image"> <summary> Image. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Media"> <summary> Media. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Font"> <summary> Font. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Script"> <summary> Script. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.TextTrack"> <summary> Texttrack. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Xhr"> <summary> XHR. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Fetch"> <summary> Fetch. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.EventSource"> <summary> Event source. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.WebSocket"> <summary> Web Socket. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Manifest"> <summary> Manifest. </summary> </member> <member name="F:PuppeteerSharp.ResourceType.Other"> <summary> Other. </summary> </member> <member name="T:PuppeteerSharp.Response"> <summary> <see cref="T:PuppeteerSharp.Response"/> class represents responses which are received by page. </summary> </member> <member name="P:PuppeteerSharp.Response.Url"> <summary> Contains the URL of the response. </summary> </member> <member name="P:PuppeteerSharp.Response.Headers"> <summary> An object with HTTP headers associated with the response. All header names are lower-case. </summary> <value>The headers.</value> </member> <member name="P:PuppeteerSharp.Response.Status"> <summary> Contains the status code of the response </summary> <value>The status.</value> </member> <member name="P:PuppeteerSharp.Response.Ok"> <summary> Contains a boolean stating whether the response was successful (status in the range 200-299) or not. </summary> <value><c>true</c> if ok; otherwise, <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.Response.Request"> <summary> A matching <see cref="P:PuppeteerSharp.Response.Request"/> object. </summary> <value>The request.</value> </member> <member name="P:PuppeteerSharp.Response.FromCache"> <summary> True if the response was served from either the browser's disk cache or memory cache. </summary> </member> <member name="P:PuppeteerSharp.Response.SecurityDetails"> <summary> Gets or sets the security details. </summary> <value>The security details.</value> </member> <member name="P:PuppeteerSharp.Response.FromServiceWorker"> <summary> Gets a value indicating whether the <see cref="T:PuppeteerSharp.Response"/> was served by a service worker. </summary> <value><c>true</c> if the <see cref="T:PuppeteerSharp.Response"/> was served by a service worker; otherwise, <c>false</c>.</value> </member> <member name="M:PuppeteerSharp.Response.BufferAsync"> <summary> Returns a Task which resolves to a buffer with response body </summary> <returns>A Task which resolves to a buffer with response body</returns> </member> <member name="M:PuppeteerSharp.Response.TextAsync"> <summary> Returns a Task which resolves to a text representation of response body </summary> <returns>A Task which resolves to a text representation of response body</returns> </member> <member name="M:PuppeteerSharp.Response.JsonAsync"> <summary> Returns a Task which resolves to a <see cref="T:Newtonsoft.Json.Linq.JObject"/> representation of response body </summary> <seealso cref="M:PuppeteerSharp.Response.JsonAsync``1"/> <returns>A Task which resolves to a <see cref="T:Newtonsoft.Json.Linq.JObject"/> representation of response body</returns> </member> <member name="M:PuppeteerSharp.Response.JsonAsync``1"> <summary> Returns a Task which resolves to a <typeparamref name="T"/> representation of response body </summary> <typeparam name="T">The type of the response</typeparam> <seealso cref="M:PuppeteerSharp.Response.JsonAsync"/> <returns>A Task which resolves to a <typeparamref name="T"/> representation of response body</returns> </member> <member name="T:PuppeteerSharp.ResponseCreatedEventArgs"> <summary> <see cref="E:PuppeteerSharp.Page.Response"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.ResponseCreatedEventArgs.Response"> <summary> Gets or sets the response. </summary> <value>The response.</value> </member> <member name="T:PuppeteerSharp.ResponseData"> <summary> Response that will fulfill a request. </summary> </member> <member name="P:PuppeteerSharp.ResponseData.Body"> <summary> Response body (text content) </summary> <value>Body as text.</value> </member> <member name="P:PuppeteerSharp.ResponseData.BodyData"> <summary> Response body (binary content) </summary> <value>The body as binary.</value> </member> <member name="P:PuppeteerSharp.ResponseData.Headers"> <summary> Response headers. </summary> <value>Headers.</value> </member> <member name="P:PuppeteerSharp.ResponseData.ContentType"> <summary> If set, equals to setting <see href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"/> response header </summary> <value>The Content-Type.</value> </member> <member name="P:PuppeteerSharp.ResponseData.Status"> <summary> Response status code. </summary> <value>Status Code.</value> </member> <member name="T:PuppeteerSharp.RevisionInfo"> <summary> Revision info. </summary> </member> <member name="P:PuppeteerSharp.RevisionInfo.Revision"> <summary> Gets or sets the revision. </summary> <value>The revision.</value> </member> <member name="P:PuppeteerSharp.RevisionInfo.FolderPath"> <summary> Gets or sets the folder path. </summary> <value>The folder path.</value> </member> <member name="P:PuppeteerSharp.RevisionInfo.ExecutablePath"> <summary> Gets or sets the executable path. </summary> <value>The executable path.</value> </member> <member name="P:PuppeteerSharp.RevisionInfo.Downloaded"> <summary> Gets a value indicating whether this <see cref="T:PuppeteerSharp.RevisionInfo"/> is downloaded. </summary> <value><c>true</c> if <see cref="P:PuppeteerSharp.RevisionInfo.FolderPath"/> exists; otherwise, <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.RevisionInfo.Url"> <summary> URL this revision can be downloaded from. </summary> </member> <member name="P:PuppeteerSharp.RevisionInfo.Local"> <summary> Whether the revision is locally available on disk. </summary> </member> <member name="P:PuppeteerSharp.RevisionInfo.Platform"> <summary> Revision platform. </summary> </member> <member name="T:PuppeteerSharp.ScreenshotOptions"> <summary> Options to be used in <see cref="M:PuppeteerSharp.Page.ScreenshotAsync(System.String,PuppeteerSharp.ScreenshotOptions)"/>, <see cref="M:PuppeteerSharp.Page.ScreenshotStreamAsync(PuppeteerSharp.ScreenshotOptions)"/> and <see cref="M:PuppeteerSharp.Page.ScreenshotDataAsync(PuppeteerSharp.ScreenshotOptions)"/> </summary> </member> <member name="P:PuppeteerSharp.ScreenshotOptions.Clip"> <summary> Specifies clipping region of the page. </summary> <value>The clip.</value> </member> <member name="P:PuppeteerSharp.ScreenshotOptions.FullPage"> <summary> When <c>true</c>, takes a screenshot of the full scrollable page. Defaults to <c>false</c>. </summary> <value><c>true</c> if full page; otherwise, <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.ScreenshotOptions.OmitBackground"> <summary> Hides default white background and allows capturing screenshots with transparency. Defaults to <c>false</c> </summary> <value><c>true</c> if omit background; otherwise, <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.ScreenshotOptions.Type"> <summary> Specify screenshot type, can be either jpeg or png. Defaults to 'png'. </summary> <value>The type.</value> </member> <member name="P:PuppeteerSharp.ScreenshotOptions.Quality"> <summary> The quality of the image, between 0-100. Not applicable to png images. </summary> <value>The quality.</value> </member> <member name="T:PuppeteerSharp.ScreenshotType"> <summary> Screenshot file type. </summary> <seealso cref="T:PuppeteerSharp.ScreenshotOptions"/> </member> <member name="F:PuppeteerSharp.ScreenshotType.Jpeg"> <summary> JPEG type. </summary> </member> <member name="F:PuppeteerSharp.ScreenshotType.Png"> <summary> PNG type. </summary> </member> <member name="T:PuppeteerSharp.SecurityDetails"> <summary> Security details. </summary> <seealso cref="P:PuppeteerSharp.Response.SecurityDetails"/> </member> <member name="M:PuppeteerSharp.SecurityDetails.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.SecurityDetails"/> class. </summary> </member> <member name="M:PuppeteerSharp.SecurityDetails.#ctor(System.String,System.String,System.Int32,System.Int32,System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.SecurityDetails"/> class. </summary> <param name="subjectName">Subject name</param> <param name="issuer">Issuer</param> <param name="validFrom">Valid from</param> <param name="validTo">Valid to</param> <param name="protocol">Protocol</param> </member> <member name="P:PuppeteerSharp.SecurityDetails.SubjectName"> <summary> Gets the name of the subject. </summary> <value>The name of the subject.</value> </member> <member name="P:PuppeteerSharp.SecurityDetails.Issuer"> <summary> Gets the issuer. </summary> <value>The issuer.</value> </member> <member name="P:PuppeteerSharp.SecurityDetails.ValidFrom"> <summary> Gets the valid from. </summary> <value>The valid from.</value> </member> <member name="P:PuppeteerSharp.SecurityDetails.ValidTo"> <summary> Gets the valid to. </summary> <value>The valid to.</value> </member> <member name="P:PuppeteerSharp.SecurityDetails.Protocol"> <summary> Gets the protocol. </summary> <value>The protocol.</value> </member> <member name="T:PuppeteerSharp.SelectorException"> <summary> Exception thrown when an element selector returns null. </summary> <seealso cref="M:PuppeteerSharp.Extensions.EvaluateFunctionAsync``1(System.Threading.Tasks.Task{PuppeteerSharp.ElementHandle},System.String,System.Object[])"/> <seealso cref="M:PuppeteerSharp.Frame.SelectAsync(System.String,System.String[])"/> <seealso cref="M:PuppeteerSharp.Page.ClickAsync(System.String,PuppeteerSharp.Input.ClickOptions)"/> <seealso cref="M:PuppeteerSharp.Page.TapAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.HoverAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.FocusAsync(System.String)"/> <seealso cref="M:PuppeteerSharp.Page.SelectAsync(System.String,System.String[])"/> </member> <member name="P:PuppeteerSharp.SelectorException.Selector"> <summary> Gets the selector. </summary> <value>The selector.</value> </member> <member name="M:PuppeteerSharp.SelectorException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.SelectorException"/> class. </summary> <param name="message">Message.</param> </member> <member name="M:PuppeteerSharp.SelectorException.#ctor(System.String,System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.SelectorException"/> class. </summary> <param name="message">Message.</param> <param name="selector">Selector.</param> </member> <member name="T:PuppeteerSharp.Target"> <summary> Target. </summary> </member> <member name="P:PuppeteerSharp.Target.Url"> <summary> Gets the URL. </summary> <value>The URL.</value> </member> <member name="P:PuppeteerSharp.Target.Type"> <summary> Gets the type. It will be <see cref="P:PuppeteerSharp.TargetInfo.Type"/> if it's "page" or "service_worker". Otherwise it will be "other" </summary> <value>The type.</value> </member> <member name="P:PuppeteerSharp.Target.TargetId"> <summary> Gets the target identifier. </summary> <value>The target identifier.</value> </member> <member name="P:PuppeteerSharp.Target.Opener"> <summary> Get the target that opened this target </summary> <remarks> Top-level targets return <c>null</c>. </remarks> </member> <member name="P:PuppeteerSharp.Target.Browser"> <summary> Get the browser the target belongs to. </summary> </member> <member name="P:PuppeteerSharp.Target.BrowserContext"> <summary> Get the browser context the target belongs to. </summary> </member> <member name="M:PuppeteerSharp.Target.PageAsync"> <summary> Creates a new <see cref="T:PuppeteerSharp.Page"/>. If the target is not <c>"page"</c> returns <c>null</c> </summary> <returns>a task that returns a new <see cref="T:PuppeteerSharp.Page"/></returns> </member> <member name="M:PuppeteerSharp.Target.CreateCDPSessionAsync"> <summary> Creates a Chrome Devtools Protocol session attached to the target. </summary> <returns>A task that returns a <see cref="T:PuppeteerSharp.CDPSession"/></returns> </member> <member name="T:PuppeteerSharp.TargetChangedArgs"> <summary> Event arguments used by target related events. </summary> <seealso cref="E:PuppeteerSharp.Browser.TargetChanged"/> <seealso cref="E:PuppeteerSharp.Browser.TargetCreated"/> <seealso cref="E:PuppeteerSharp.Browser.TargetDestroyed"/> </member> <member name="P:PuppeteerSharp.TargetChangedArgs.TargetInfo"> <summary> Gets or sets the target info. </summary> <value>The target info.</value> </member> <member name="P:PuppeteerSharp.TargetChangedArgs.Target"> <summary> Gets or sets the target. </summary> <value>The target.</value> </member> <member name="T:PuppeteerSharp.TargetClosedException"> <summary> Exception thrown by the <see cref="T:PuppeteerSharp.Connection"/> when it detects that the target was closed. </summary> </member> <member name="M:PuppeteerSharp.TargetClosedException.#ctor(System.String)"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.TargetClosedException"/> class. </summary> <param name="message">Message.</param> </member> <member name="T:PuppeteerSharp.TargetInfo"> <summary> Target info. </summary> </member> <member name="P:PuppeteerSharp.TargetInfo.Type"> <summary> Gets the type. </summary> <value>The type.</value> </member> <member name="P:PuppeteerSharp.TargetInfo.Url"> <summary> Gets the URL. </summary> <value>The URL.</value> </member> <member name="P:PuppeteerSharp.TargetInfo.TargetId"> <summary> Gets the target identifier. </summary> <value>The target identifier.</value> </member> <member name="P:PuppeteerSharp.TargetInfo.BrowserContextId"> <summary> Gets or sets the target browser contextId </summary> </member> <member name="P:PuppeteerSharp.TargetInfo.OpenerId"> <summary> Get the target that opened this target </summary> </member> <member name="T:PuppeteerSharp.TargetType"> <summary> Target type. </summary> </member> <member name="F:PuppeteerSharp.TargetType.Other"> <summary> The other. </summary> </member> <member name="F:PuppeteerSharp.TargetType.Page"> <summary> Target type page. </summary> </member> <member name="F:PuppeteerSharp.TargetType.ServiceWorker"> <summary> Target type service worker. </summary> </member> <member name="F:PuppeteerSharp.TargetType.Browser"> <summary> Target type browser. </summary> </member> <member name="F:PuppeteerSharp.TargetType.BackgroundPage"> <summary> Target type background page. </summary> </member> <member name="T:PuppeteerSharp.Tracing"> <summary> You can use <see cref="M:PuppeteerSharp.Tracing.StartAsync(PuppeteerSharp.TracingOptions)"/> and <see cref="M:PuppeteerSharp.Tracing.StopAsync"/> to create a trace file which can be opened in Chrome DevTools or timeline viewer. </summary> <example> <code> await Page.Tracing.StartAsync(new TracingOptions { Screenshots = true, Path = _file }); await Page.GoToAsync(TestConstants.ServerUrl + "/grid.html"); await Page.Tracing.StopAsync(); </code> </example> </member> <member name="M:PuppeteerSharp.Tracing.StartAsync(PuppeteerSharp.TracingOptions)"> <summary> Starts tracing. </summary> <returns>Start task</returns> <param name="options">Tracing options</param> </member> <member name="M:PuppeteerSharp.Tracing.StopAsync"> <summary> Stops tracing </summary> <returns>Stop task</returns> </member> <member name="T:PuppeteerSharp.TracingCompleteEventArgs"> <summary> <see cref="E:PuppeteerSharp.CDPSession.TracingComplete"/> arguments. </summary> </member> <member name="P:PuppeteerSharp.TracingCompleteEventArgs.Stream"> <summary> Gets or sets the stream. </summary> <value>The stream.</value> </member> <member name="T:PuppeteerSharp.TracingOptions"> <summary> Tracing options used on <see cref="M:PuppeteerSharp.Tracing.StartAsync(PuppeteerSharp.TracingOptions)"/>. </summary> </member> <member name="P:PuppeteerSharp.TracingOptions.Screenshots"> <summary> Gets or sets a value indicating whether Tracing should captures screenshots in the trace </summary> <value>Screenshots option</value> </member> <member name="P:PuppeteerSharp.TracingOptions.Path"> <summary> A path to write the trace file to </summary> <value>The path.</value> </member> <member name="P:PuppeteerSharp.TracingOptions.Categories"> <summary> Specify custom categories to use instead of default. </summary> <value>The categories.</value> </member> <member name="T:PuppeteerSharp.ViewPortOptions"> <summary> View port options used on <see cref="M:PuppeteerSharp.Page.SetViewportAsync(PuppeteerSharp.ViewPortOptions)"/>. </summary> </member> <member name="M:PuppeteerSharp.ViewPortOptions.#ctor"> <summary> Initializes a new instance of the <see cref="T:PuppeteerSharp.ViewPortOptions"/> class. </summary> </member> <member name="P:PuppeteerSharp.ViewPortOptions.Width"> <summary> Gets or sets the width </summary> <value>The page width width in pixels.</value> </member> <member name="P:PuppeteerSharp.ViewPortOptions.Height"> <summary> Gets or sets the height. </summary> <value>The page height in pixels.</value> </member> <member name="P:PuppeteerSharp.ViewPortOptions.IsMobile"> <summary> Gets or sets whether the meta viewport tag is taken into account. </summary> <value>Whether the meta viewport tag is taken into account. Defaults to <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.ViewPortOptions.DeviceScaleFactor"> <summary> Gets or sets the device scale factor. </summary> <value>Specify device scale factor (can be thought of as dpr). Defaults to 1.</value> </member> <member name="P:PuppeteerSharp.ViewPortOptions.IsLandscape"> <summary> Gets or sets if viewport is in landscape mode. </summary> <value>Specifies if viewport is in landscape mode. Defaults to <c>false</c>.</value> </member> <member name="P:PuppeteerSharp.ViewPortOptions.HasTouch"> <summary> Gets or sets if viewport supports touch events. </summary> <value>Specifies if viewport supports touch events. Defaults to <c>false</c>.</value> </member> <member name="T:PuppeteerSharp.WaitForFunctionOptions"> <summary> Optional waiting parameters. </summary> <seealso cref="M:PuppeteerSharp.Page.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"/> <seealso cref="M:PuppeteerSharp.Frame.WaitForFunctionAsync(System.String,PuppeteerSharp.WaitForFunctionOptions,System.Object[])"/> <seealso cref="T:PuppeteerSharp.WaitForSelectorOptions"/> </member> <member name="P:PuppeteerSharp.WaitForFunctionOptions.Timeout"> <summary> Maximum time to wait for in milliseconds. Defaults to 30000 (30 seconds). Pass 0 to disable timeout. </summary> </member> <member name="P:PuppeteerSharp.WaitForFunctionOptions.Polling"> <summary> An interval at which the <c>pageFunction</c> is executed. defaults to <see cref="F:PuppeteerSharp.WaitForFunctionPollingOption.Raf"/> </summary> </member> <member name="P:PuppeteerSharp.WaitForFunctionOptions.PollingInterval"> <summary> An interval at which the <c>pageFunction</c> is executed. If no value is specified will use <see cref="P:PuppeteerSharp.WaitForFunctionOptions.Polling"/> </summary> </member> <member name="T:PuppeteerSharp.WaitForFunctionPollingOption"> <summary> An interval at which the <c>pageFunction</c> is executed. </summary> </member> <member name="F:PuppeteerSharp.WaitForFunctionPollingOption.Raf"> <summary> To constantly execute <c>pageFunction</c> in <c>requestAnimationFrame</c> callback. This is the tightest polling mode which is suitable to observe styling changes. </summary> </member> <member name="F:PuppeteerSharp.WaitForFunctionPollingOption.Mutation"> <summary> To execute <c>pageFunction</c> on every DOM mutation. </summary> </member> <member name="T:PuppeteerSharp.WaitForSelectorOptions"> <summary> Optional waiting parameters. </summary> <seealso cref="M:PuppeteerSharp.Page.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> <seealso cref="M:PuppeteerSharp.Frame.WaitForSelectorAsync(System.String,PuppeteerSharp.WaitForSelectorOptions)"/> </member> <member name="P:PuppeteerSharp.WaitForSelectorOptions.Visible"> <summary> Wait for selector to become visible. </summary> </member> <member name="P:PuppeteerSharp.WaitForSelectorOptions.Hidden"> <summary> Wait for selector to become hidden. </summary> </member> <member name="P:PuppeteerSharp.WaitTaskTimeoutException.Timeout"> <summary> Timeout that caused the exception </summary> <value>The timeout.</value> </member> <member name="P:PuppeteerSharp.WaitTaskTimeoutException.ElementType"> <summary> Element type the WaitTask was waiting for </summary> <value>The element.</value> </member> <member name="T:PuppeteerSharp.WaitUntilNavigation"> <summary> Wait until navigation. </summary> </member> <member name="F:PuppeteerSharp.WaitUntilNavigation.Load"> <summary> Consider navigation to be finished when the <c>load</c> event is fired </summary> </member> <member name="F:PuppeteerSharp.WaitUntilNavigation.DOMContentLoaded"> <summary> Consider navigation to be finished when the <c>DOMContentLoaded</c> event is fired </summary> </member> <member name="F:PuppeteerSharp.WaitUntilNavigation.Networkidle0"> <summary> Consider navigation to be finished when there are no more than 0 network connections for at least <c>500</c> ms </summary> </member> <member name="F:PuppeteerSharp.WaitUntilNavigation.Networkidle2"> <summary> Consider navigation to be finished when there are no more than 2 network connections for at least <c>500</c> ms </summary> </member> </members> </doc> |