MCPcopy Create free account

hub / github.com/apify/camoufox-js / functions

Functions162 in github.com/apify/camoufox-js

↓ 22 callersMethodclose
()
src/webgl/sample.ts:10
↓ 15 callersFunctionCamoufox
( launch_options: LaunchOptions & { user_data_dir?: UserDataDir } = {}, )
src/sync_api.ts:11
↓ 14 callersMethodwarn
(warningKey: string, iKnowWhatImDoing?: boolean)
src/warnings.ts:14
↓ 11 callersFunctiongetAsBooleanFromENV
( name: string, defaultValue?: boolean | undefined, )
src/utils.ts:81
↓ 10 callersMethodget
()
src/virtdisplay.ts:97
↓ 9 callersMethodkill
()
src/virtdisplay.ts:139
↓ 9 callersFunctionsetInto
(target: Record<string, any>, key: string, value: any)
src/utils.ts:267
↓ 6 callersFunctionisDomainSet
( config: Record<string, any>, ...properties: string[] )
src/utils.ts:273
↓ 5 callersFunctionmergeInto
( target: Record<string, any>, source: Record<string, any>, )
src/utils.ts:256
↓ 5 callersFunctionprocOf
(vd: VirtualDisplay)
test/virtdisplay.test.ts:34
↓ 5 callersFunctiontrack
(vd: VirtualDisplay)
test/virtdisplay.test.ts:16
↓ 4 callersFunctionasFloat
(element: any, attr: string)
src/locale.ts:252
↓ 4 callersFunctiongetPath
(file: string)
src/pkgman.ts:415
↓ 4 callersMethodinstall
()
src/pkgman.ts:293
↓ 4 callersMethodinvalidInput
(locale: string)
src/exceptions.ts:98
↓ 4 callersFunctionwaitForExit
(vd: VirtualDisplay, timeoutMs = 5_000)
test/virtdisplay.test.ts:39
↓ 3 callersMethodasConfig
()
src/locale.ts:39
↓ 3 callersFunctioncamoufoxPath
(downloadIfMissing: boolean = true)
src/pkgman.ts:392
↓ 3 callersMethodcreate
()
src/__main__.ts:29
↓ 3 callersFunctiongetAuthorizationHeaders
(url: string)
src/pkgman.ts:35
↓ 3 callersFunctionnormalizeLocale
(locale: string)
src/locale.ts:84
↓ 3 callersMethodprepare
(query: string)
src/webgl/sample.ts:9
↓ 3 callersFunctionrandint
(min: number, max: number)
src/utils.ts:632
↓ 3 callersFunctionwebdl
( url: string, desc: string = "", bar: boolean = true, buffer: Writable | null = null, { retries }: { ret
src/pkgman.ts:438
↓ 2 callersMethodcleanup
()
src/pkgman.ts:278
↓ 2 callersFunctiondownloadMMDB
()
src/locale.ts:186
↓ 2 callersMethodfromPath
(filePath: PathLike = INSTALL_DIR)
src/pkgman.ts:123
↓ 2 callersMethodfromRegion
(region: string)
src/locale.ts:369
↓ 2 callersFunctiongeoipAllowed
()
src/locale.ts:178
↓ 2 callersMethodgetAsset
( { retries }: { retries: number } = { retries: 5 }, )
src/pkgman.ts:167
↓ 2 callersFunctiongetFingerprint
()
test/basics.test.ts:186
↓ 2 callersFunctionhandleLocale
( locale: string, ignoreRegion: boolean = false, )
src/locale.ts:99
↓ 2 callersMethodinit
()
src/pkgman.ts:220
↓ 2 callersFunctioninstallWith
(fetchImpl: ReturnType<typeof vi.fn>)
test/pkgman.test.ts:86
↓ 2 callersFunctioninstalledVerStr
()
src/pkgman.ts:388
↓ 2 callersMethodisSupported
()
src/pkgman.ts:119
↓ 2 callersMethodisUpdateNeeded
()
src/__main__.ts:35
↓ 2 callersFunctionlaunchOptions
({ config, os, block_images, block_webrtc, block_webgl, disable_coop, webgl_config, geoip, humanize,
src/utils.ts:510
↓ 2 callersFunctionlaunchServer
({ port, ws_path, ...options }: | LaunchOptions | { port?: number; ws_path?: string })
src/server.ts:4
↓ 2 callersMethodlessThan
(other: Version)
src/pkgman.ts:111
↓ 2 callersFunctionmaybeDownloadAddons
( addons: Record<string, string>, addonsList: string[] = [], )
src/addons.ts:69
↓ 2 callersMethodnormalizeProbabilities
( languages: string[], freq: number[], )
src/locale.ts:326
↓ 2 callersFunctionopenDatabase
(pathName: string)
src/webgl/sample.ts:15
↓ 2 callersFunctionrandrange
(min: number, max: number)
src/fingerprints.ts:16
↓ 2 callersFunctionsampleWebGL
( os: "win" | "mac" | "lin", vendor?: string, renderer?: string, )
src/webgl/sample.ts:47
↓ 2 callersFunctionstagingDirs
()
test/pkgman.test.ts:80
↓ 2 callersFunctionsyncAttachVD
( browser: any, virtualDisplay?: VirtualDisplay | null, )
src/utils.ts:336
↓ 2 callersFunctionvalidIPv4
(ip: string | false)
src/ip.ts:55
↓ 2 callersFunctionvalidIPv6
(ip: string | false)
src/ip.ts:62
↓ 2 callersFunctionvalidateIP
(ip: string)
src/ip.ts:69
↓ 2 callersFunctionverifyLocale
(loc: string)
src/locale.ts:77
↓ 2 callersMethodweightedRandomChoice
(items: T[], weights: number[])
src/locale.ts:334
↓ 1 callersFunctionNewBrowser
( playwright: BrowserType<Browser>, headless: boolean | "virtual" = false, fromOptions: Record<string, any>
src/sync_api.ts:28
↓ 1 callersFunction_castToProperties
( camoufoxData: Record<string, any>, castEnum: Record<string, any>, bfDict: Record<string, any>, ffVersion
src/fingerprints.ts:24
↓ 1 callersFunctionaddDefaultAddons
( addonsList: string[], excludeList: (keyof typeof DefaultAddons)[] = [], )
src/addons.ts:30
↓ 1 callersMethodasRange
()
src/__version__.ts:12
↓ 1 callersMethodasString
()
src/locale.ts:32
↓ 1 callersMethodassert_linux
()
src/virtdisplay.ts:148
↓ 1 callersMethodbuildMinMax
()
src/pkgman.ts:138
↓ 1 callersMethodbuildSortedRel
()
src/pkgman.ts:91
↓ 1 callersMethodcheckAsset
(asset: any)
src/pkgman.ts:157
↓ 1 callersFunctioncheckCustomFingerprint
(fingerprint: Fingerprint)
src/utils.ts:222
↓ 1 callersMethodcleanup
()
src/__main__.ts:76
↓ 1 callersFunctionconfirmPaths
(paths: string[])
src/addons.ts:14
↓ 1 callersFunctiondetermineUAOS
(userAgent: string)
src/utils.ts:175
↓ 1 callersFunctiondownloadAndExtract
( url: string, extractPath: string, name: string, )
src/addons.ts:49
↓ 1 callersMethodextractZip
(zipFile: string | Buffer)
src/pkgman.ts:273
↓ 1 callersFunctionfailingFetch
()
test/pkgman.test.ts:32
↓ 1 callersMethodfetchLatest
()
src/pkgman.ts:258
↓ 1 callersFunctionfromBrowserforge
( fingerprint: Fingerprint, ffVersion?: string, )
src/fingerprints.ts:76
↓ 1 callersMethodfromLanguage
(language: string)
src/locale.ts:378
↓ 1 callersFunctiongenerateFingerprint
( window?: [number, number], config?: Partial<FingerprintGeneratorOptions>, )
src/fingerprints.ts:110
↓ 1 callersFunctiongetAddonPath
* Returns a path to the addon
src/addons.ts:61
↓ 1 callersFunctiongetEnvVars
(configMap: ConfigMap, userAgentOS: string)
src/utils.ts:48
↓ 1 callersFunctiongetGeolocation
(ip: string)
src/locale.ts:212
↓ 1 callersFunctiongetImpit
(proxy?: string)
src/ip.ts:83
↓ 1 callersMethodgetPlatformArch
()
src/pkgman.ts:240
↓ 1 callersFunctiongetProxyUrl
* Convert a Playwright proxy string to a URL object. * * Implementation from https://github.com/microsoft/playwright/blob/3873b72ac1441ca691f7594f0e
src/utils.ts:476
↓ 1 callersFunctiongetScreenCons
(headless?: boolean)
src/utils.ts:190
↓ 1 callersFunctiongetTargetOS
(config: Record<string, any>)
src/utils.ts:168
↓ 1 callersFunctiongetUnicodeInfo
()
src/locale.ts:244
↓ 1 callersFunctionhandleLocales
( locales: string | string[], config: Record<string, any>, )
src/locale.ts:135
↓ 1 callersFunctionhandleScreenXY
( camoufoxData: Record<string, any>, fpScreen: ScreenFingerprint, )
src/fingerprints.ts:51
↓ 1 callersFunctionhandleWindowSize
( fp: Fingerprint, outerWidth: number, outerHeight: number, )
src/fingerprints.ts:91
↓ 1 callersMethodisSupportedPath
(path: PathLike)
src/pkgman.ts:134
↓ 1 callersFunctionjoinUnique
(seq: string[])
src/locale.ts:157
↓ 1 callersFunctionkillAllTracked
()
test/virtdisplay.test.ts:21
↓ 1 callersFunctionlaunchPath
()
src/pkgman.ts:428
↓ 1 callersMethodloadLanguageData
(language: string)
src/locale.ts:288
↓ 1 callersFunctionloadProperties
(filePath?: PathLike)
src/utils.ts:96
↓ 1 callersMethodloadTerritoryData
(isoCode: string)
src/locale.ts:267
↓ 1 callersMethodloadUnicodeInfo
()
src/locale.ts:263
↓ 1 callersMethodmissingAssetError
()
src/pkgman.ts:161
↓ 1 callersMethodparseServer
(server: string)
src/ip.ts:14
↓ 1 callersFunctionpublicIP
(proxy?: string)
src/ip.ts:102
↓ 1 callersFunctionremoveMMDB
()
src/locale.ts:202
↓ 1 callersMethodsetVersion
()
src/pkgman.ts:286
↓ 1 callersMethodspawnXvfb
* Launch Xvfb with -displayfd 3 so the kernel/Xvfb itself picks a free * display number atomically and reports it back to us. Avoids userspace race
src/virtdisplay.ts:74
↓ 1 callersFunctionsucceedingFetch
()
test/pkgman.test.ts:44
↓ 1 callersFunctionunzip
( zipFile: Buffer, extractPath: string, desc?: string, bar: boolean = true, )
src/pkgman.ts:496
next →1–100 of 162, ranked by callers