| 936 | }; |
| 937 | |
| 938 | export const printLogo = (docsLink: string, debugURL?: string | boolean) => ` |
| 939 | --------------------------------------------------------- |
| 940 | | browserless.io |
| 941 | | To read documentation and more, load in your browser: |
| 942 | | |
| 943 | | OpenAPI: ${docsLink} |
| 944 | | Full Documentation: https://docs.browserless.io/ ${ |
| 945 | /*prettier-ignore*/ |
| 946 | debugURL ? ` |
| 947 | | Debbuger: ${debugURL}` : "" |
| 948 | } |
| 949 | --------------------------------------------------------- |
| 950 | ${gradient( |
| 951 | '#ff1a8c', |
| 952 | '#ffea00', |
| 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 | export const getCDPClient = (page: Page): CDPSession => { |
| 978 | // @ts-ignore using internal CDP client |