Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cypress-io/cypress
/ functions
Functions
9,434 in github.com/cypress-io/cypress
⨍
Functions
9,434
◇
Types & classes
1,691
↓ 17 callers
Method
redirect
* Respond to this request with a redirect to a new `location`. * @param statusCode HTTP status code to redirect with. Default: 302
packages/network-interception/lib/types/external-types.ts:198
↓ 16 callers
Method
addQuery
* Add a custom query * @see https://on.cypress.io/api/custom-queries
cli/types/cypress.d.ts:889
↓ 16 callers
Method
fetch
(input: RequestInfo | URL, init?: RequestInit)
packages/data-context/src/sources/UtilDataSource.ts:17
↓ 16 callers
Method
findBrowsers
* Mocks the system browser retrieval to return the desired browsers
packages/frontend-shared/cypress/support/e2e.ts:191
↓ 16 callers
Method
getSubjectFromChain
(subjectChain: SubjectChain | null | undefined)
packages/driver/src/cypress/cy.ts:1263
↓ 16 callers
Function
logInternal
(name: string | Partial<Cypress.LogConfig>, cb: (log: Cypress.Log | undefined) => Cypress.Chainable<T>, opts:
packages/frontend-shared/cypress/support/utils.ts:1
↓ 16 callers
Method
write
()
tooling/electron-mksnapshot/src/metadata.ts:35
↓ 15 callers
Method
_emit
()
packages/net-stubbing/lib/server/intercepted-request.ts:163
↓ 15 callers
Method
path
(fixture)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:106
↓ 15 callers
Function
print
(browsers: FoundBrowser[] = [])
packages/server/lib/modes/info.ts:76
↓ 15 callers
Method
push
(queueKey: string, value: T)
packages/proxy/lib/http/util/prerequests.ts:55
↓ 15 callers
Function
setCount
(value)
npm/vue/cypress/component/counter-vuex/counter-vuex.cy.js:22
↓ 14 callers
Method
eval
(expression: string)
packages/driver/src/cypress.ts:62
↓ 14 callers
Method
focused
* Get the DOM element that is currently focused. * * @see https://on.cypress.io/focused * @example * // Get the element that is
cli/types/cypress.d.ts:1479
↓ 14 callers
Method
format
()
packages/ts/index.d.ts:96
↓ 14 callers
Method
kill
()
packages/server/lib/browsers/webkit.ts:149
↓ 14 callers
Function
next
(err)
packages/driver/src/cypress/runner.ts:1725
↓ 14 callers
Function
plugin
(config: CypressConfigOptions)
npm/grep/src/plugin.ts:19
↓ 14 callers
Method
spread
* Expand an array into multiple arguments. * @see https://on.cypress.io/spread * @example * cy.getCookies().spread((cookie1, cookie2
cli/types/cypress.d.ts:2218
↓ 13 callers
Function
createApp
(port)
packages/driver/cypress/plugins/server.js:19
↓ 13 callers
Function
getPathForPlatform
(posixPath?: string)
packages/app/src/paths.ts:8
↓ 13 callers
Method
html
(html: string)
cli/types/cy-chai.d.ts:6
↓ 13 callers
Method
init
(cdpClient: CDPClient, namespace: string)
packages/socket/lib/node/cdp-socket.ts:92
↓ 13 callers
Function
isInput
(el)
packages/driver/src/dom/elements/elementHelpers.ts:27
↓ 13 callers
Method
promise
()
packages/ts/typedefs/cypress-request-promise.d.ts:14
↓ 13 callers
Method
scaffold
()
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:97
↓ 13 callers
Method
setup
({ script, studioPath, studioHash, cloudApi, manifest, getProjectOptions, debugData }: SetupOptions)
packages/server/lib/cloud/studio/studio.ts:31
↓ 13 callers
Method
shadow
* Traverse into an element's shadow root. * * @example * cy.get('my-component') * .shadow() * .find('.my-button')
cli/types/cypress.d.ts:2077
↓ 13 callers
Function
snapshot
(...args)
system-tests/lib/system-tests.ts:855
↓ 12 callers
Method
end
()
cli/types/cypress.d.ts:6604
↓ 12 callers
Method
expose
* Returns all exposed public configuration variables set with --expose in the CLI or in "expose" object in "cypress.config.{js,ts,mjs,cjs}" *
cli/types/cypress.d.ts:551
↓ 12 callers
Function
fn
(socketId)
packages/server/lib/modes/run.ts:607
↓ 12 callers
Function
getTagName
(el)
packages/driver/src/dom/elements/elementHelpers.ts:9
↓ 12 callers
Method
go
* Navigate back or forward to the previous or next URL in the browser's history. * * @see https://on.cypress.io/go
cli/types/cypress.d.ts:1542
↓ 12 callers
Method
invokeSync
* Abstracts invoking a synchronous method on the AppCaptureProtocol instance, so we can handle * errors in a uniform way
packages/server/lib/cloud/protocol.ts:536
↓ 12 callers
Function
on
()
packages/server/test/unit/socket_spec.ts:953
↓ 12 callers
Method
parents
* Get the parent DOM elements of a set of DOM elements. * * @see https://on.cypress.io/parents
cli/types/cypress.d.ts:1777
↓ 12 callers
Method
pause
* Stop cy commands from running and allow interaction with the application under test. You can then "resume" running all commands or choose to step th
cli/types/cypress.d.ts:1816
↓ 12 callers
Method
queue
(str: string | null)
packages/ts/index.d.ts:54
↓ 12 callers
Method
toPrimary
* Events to be sent to the primary communicator instance. * @param {string} event - the name of the event to be sent. * @param {Cypress.ObjectLi
packages/driver/src/cross-origin/communicator.ts:321
↓ 12 callers
Method
transform
(body: any, response: request.Response, resolveWithFullResponse?: boolean)
packages/ts/typedefs/cypress-request-promise.d.ts:21
↓ 11 callers
Method
check
* Check checkbox(es) or radio(s). This element must be an `<input>` with type `checkbox` or `radio`. * * @see https://on.cypress.io/check
cli/types/cypress.d.ts:953
↓ 11 callers
Method
close
()
packages/data-context/src/sources/BrowserDataSource.ts:35
↓ 11 callers
Function
concatStream
(opts: Callback | ConcatOpts, cb?: Callback)
packages/network/lib/concat-stream.ts:12
↓ 11 callers
Method
get
(attr)
packages/driver/src/cypress/log.ts:307
↓ 11 callers
Function
getEventManager
()
packages/app/src/runner/index.ts:60
↓ 11 callers
Method
getFullInitialConfig
(options: Partial<AllModeOptions> = this.options.ctx.modeOptions, withBrowsers = true)
packages/data-context/src/data/ProjectConfigManager.ts:593
↓ 11 callers
Method
isDocument
* Throws an error if `subject` is not a `document`.
cli/types/cypress.d.ts:154
↓ 11 callers
Method
on
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:14
↓ 11 callers
Method
removeProject
(name)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:102
↓ 11 callers
Method
select
* Select an `<option>` with specific text, value, or index within a `<select>`. * * @see https://on.cypress.io/select
cli/types/cypress.d.ts:2044
↓ 11 callers
Method
selectFile
* Select a file with the given <input> element, or drag and drop a file over any DOM subject. * * @param {FileReference} files - The file(s)
cli/types/cypress.d.ts:2058
↓ 11 callers
Function
setSelectionRange
(el, start, end)
packages/driver/src/dom/selection.ts:150
↓ 11 callers
Method
submit
* Submit a form. * * @see https://on.cypress.io/submit
cli/types/cypress.d.ts:2208
↓ 11 callers
Method
toJSON
()
cli/types/cypress.d.ts:6485
↓ 10 callers
Function
after
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5930
↓ 10 callers
Function
assert
* Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result
system-tests/projects/e2e/static/jquery.js:926
↓ 10 callers
Method
at
(index: number)
packages/driver/src/util/queue.ts:40
↓ 10 callers
Function
automate
()
packages/driver/src/cy/commands/cookies.ts:121
↓ 10 callers
Method
clearCookie
* Clear a specific browser cookie for a domain. * * Cypress automatically clears all cookies _before_ each test to prevent * state from
cli/types/cypress.d.ts:993
↓ 10 callers
Method
connect
(req: IncomingMessage, browserSocket: net.Socket, head: Buffer)
packages/https-proxy/lib/server.ts:53
↓ 10 callers
Method
connectToBrowser
(cdpClient: CDPClient)
packages/types/src/protocol.ts:137
↓ 10 callers
Function
createEventManager
()
packages/app/cypress/component/support/ctSupport.ts:24
↓ 10 callers
Method
current
()
packages/network-tools/lib/remote-states.ts:109
↓ 10 callers
Method
detect
* Returns a {@link Resource} populated with attributes from the * circle ci environment variable. * * @param config The resource detection co
packages/telemetry/src/detectors/circleCiDetectorSync.ts:15
↓ 10 callers
Method
disconnect
()
packages/server/lib/browsers/cdp-connection.ts:110
↓ 10 callers
Function
execute
(event, ...args)
packages/server/lib/plugins/index.ts:31
↓ 10 callers
Function
formatPath
(name: string, n: number | undefined, pathColor = 'reset')
packages/server/lib/util/print-run.ts:142
↓ 10 callers
Function
gray
(val: any)
packages/server/lib/util/print-run.ts:42
↓ 10 callers
Method
initialize
()
packages/types/src/studio/studio-server-types.ts:81
↓ 10 callers
Method
invalidate
(...args: Parameters<Cache['invalidate']>)
packages/data-context/src/sources/CloudDataSource.ts:337
↓ 10 callers
Method
listeners
(event: string | symbol)
cli/types/cypress-eventemitter.d.ts:21
↓ 10 callers
Method
matches
(command: Command)
packages/reporter/src/commands/command-model.ts:230
↓ 10 callers
Function
parse
(cookieString: string)
packages/driver/src/cypress/cookies.ts:94
↓ 10 callers
Function
parse
(p: string, fixture: string, encoding: (ObjectEncodingOptions & { flag?: string | undefined }) | BufferEncodin
packages/server/lib/fixture.ts:207
↓ 10 callers
Function
parseUrlIntoHostProtocolDomainTldPort
(str: string)
packages/network-tools/lib/cors.ts:17
↓ 10 callers
Method
query
()
packages/data-context/src/util/DocumentNodeBuilder.ts:99
↓ 10 callers
Function
readFile
(projectRoot: string, options: { file: string, encoding?: BufferEncoding } = { file: '', encoding: 'utf8' })
packages/server/lib/files.ts:4
↓ 10 callers
Method
removeFileInProject
(relativePath: string)
packages/data-context/src/actions/FileActions.ts:39
↓ 10 callers
Function
resolve
(_, args, ctx)
packages/data-context/graphql/schemaTypes/objectTypes/gql-Mutation.ts:240
↓ 10 callers
Function
sendMouseEvent
(el, evtOptions, evtName, bubbles = false, cancelable = false)
packages/driver/src/cy/mouse.ts:69
↓ 10 callers
Function
setCtx
(_ctx: DataContext)
packages/data-context/src/index.ts:67
↓ 10 callers
Function
spawn
(linuxWithDisplayEnv: boolean)
cli/lib/tasks/verify.ts:65
↓ 10 callers
Function
taskInternal
* Run an internal task, as defined by e2ePluginSetup. Automatically tracks the types *
packages/frontend-shared/cypress/support/e2e.ts:597
↓ 10 callers
Function
throwFormErrorText
(info: any)
cli/lib/errors.ts:383
↓ 10 callers
Method
toArray
(val?: string | string[])
packages/data-context/src/actions/ProjectActions.ts:386
↓ 10 callers
Method
verify
(snapshotScript: Buffer, filename: string)
tooling/v8-snapshot/src/generator/snapshot-verifier.ts:11
↓ 10 callers
Function
visit
(url, userOptions: Partial<Cypress.VisitOptions> = {})
packages/driver/src/cy/commands/navigation.ts:759
↓ 9 callers
Function
_getSelectionByEl
(el)
packages/driver/src/dom/selection.ts:132
↓ 9 callers
Function
allowDestroy
(server: net.Server)
packages/network/lib/allow-destroy.ts:10
↓ 9 callers
Function
clearCtx
()
packages/data-context/src/index.ts:28
↓ 9 callers
Method
continue
()
packages/network-interception/lib/policies/types.ts:14
↓ 9 callers
Method
dblclick
* Double-click a DOM element. * * @see https://on.cypress.io/dblclick
cli/types/cypress.d.ts:1283
↓ 9 callers
Function
descriptor
(klass: T, prop: K)
packages/driver/src/dom/elements/nativeProps.ts:10
↓ 9 callers
Function
done
( status, nativeStatusText, responses, headers )
system-tests/projects/e2e/static/jquery.js:9013
↓ 9 callers
Function
exec
(command, args = {})
scripts/import.js:23
↓ 9 callers
Function
getContainerEl
()
npm/mount-utils/src/index.ts:8
↓ 9 callers
Function
getCoordsByPosition
( left: number, top: number, xPosition: 'left' | 'center' | 'right' = 'center', yPosition: 'top' | 'ce
packages/driver/src/dom/coordinates.ts:185
↓ 9 callers
Function
listener
(fn)
packages/driver/src/cypress/events.ts:81
↓ 9 callers
Function
loadSpec
(options: LoadSpecOptions)
packages/app/cypress/e2e/runner/support/spec-loader.ts:44
← previous
next →
201–300 of 9,434, ranked by callers