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
↓ 54 callers
Method
last
* Get the last DOM element within a set of DOM elements. * * @see https://on.cypress.io/last
cli/types/cypress.d.ts:1608
↓ 54 callers
Method
startSpan
(arg: startSpanOptions)
packages/telemetry/src/telemetry/index.ts:38
↓ 53 callers
Method
push
(message: T, data: AutomationCommands[T]['dataType'])
packages/server/lib/automation/automation.ts:200
↓ 51 callers
Method
visitApp
* Visits the Cypress app, for Cypress-in-Cypress testing
packages/frontend-shared/cypress/support/e2e.ts:175
↓ 50 callers
Method
task
* Run a task in Node via the plugins file. * * @see https://on.cypress.io/api/task
cli/types/cypress.d.ts:2234
↓ 49 callers
Method
addEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:14
↓ 49 callers
Function
cmd
(command, args = '')
packages/driver/src/cypress/error_messages.ts:51
↓ 49 callers
Function
resolve
(depth, deferred, handler, special)
packages/driver/cypress/fixtures/jquery-3.2.1.js:3563
↓ 48 callers
Function
cb
(resp)
packages/server/test/unit/socket_spec.ts:237
↓ 48 callers
Method
close
* Calls underlying remote interface client close
packages/server/lib/browsers/cri-client.ts:71
↓ 48 callers
Method
destroy
(error?: Error)
packages/ts/index.d.ts:41
↓ 48 callers
Method
trigger
* Trigger an event on a DOM element. * * @see https://on.cypress.io/trigger
cli/types/cypress.d.ts:2383
↓ 47 callers
Function
mount
(componentOptions: any, options: any = {})
npm/vue/src/index.ts:393
↓ 47 callers
Method
stop
* Stop the Cypress App on the current machine while tests are running * @see https://on.cypress.io/cypress-stop * @example * Cypress
cli/types/cypress.d.ts:616
↓ 47 callers
Method
text
(text: string)
cli/types/cy-chai.d.ts:7
↓ 45 callers
Method
url
* Get the current URL of the page that is currently active. * * @alias cy.location('href') * @see https://on.cypress.io/url
cli/types/cypress.d.ts:2478
↓ 43 callers
Function
clearTimeout
()
packages/driver/src/cy/timeouts.ts:26
↓ 43 callers
Function
on
( elem, types, selector, data, fn, one )
system-tests/projects/e2e/static/jquery.js:4809
↓ 43 callers
Method
specsPageIsVisible
* Verifies the specs page is visible (list, no specs, or create spec page)
packages/frontend-shared/cypress/support/e2e.ts:179
↓ 42 callers
Method
get
(fixture, encoding?: BufferEncoding)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:105
↓ 42 callers
Method
write
* Adds a chunk of string data to the internal buffer. * * @param chunk The string chunk to add to the buffer
packages/stderr-filtering/lib/LineDecoder.ts:25
↓ 41 callers
Method
removeAllListeners
(event?: string | symbol)
cli/types/cypress-eventemitter.d.ts:18
↓ 40 callers
Method
addAll
* Add one or more custom commands * @see https://on.cypress.io/api/commands
cli/types/cypress.d.ts:843
↓ 40 callers
Function
assertLogLength
(logs, expectedLength)
packages/driver/cypress/support/utils.ts:70
↓ 40 callers
Method
children
* Get the children of each DOM element within a set of DOM elements. * * @see https://on.cypress.io/children
cli/types/cypress.d.ts:971
↓ 40 callers
Method
closest
* Get the first DOM element that matches the selector (whether it be itself or one of its ancestors). * * @see https://on.cypress.io/closest
cli/types/cypress.d.ts:1228
↓ 40 callers
Function
resolve
( depth, deferred, handler, special )
system-tests/projects/e2e/static/jquery.js:3494
↓ 39 callers
Method
appendChild
(child)
packages/driver/cypress/e2e/commands/misc.cy.js:379
↓ 39 callers
Method
focus
* Focus on a DOM element. * * @see https://on.cypress.io/focus * @example * cy.get('input').first().focus() // Focus on the first
cli/types/cypress.d.ts:1463
↓ 39 callers
Method
unshift
(value: Command<any>)
packages/server/lib/browsers/cdp-command-queue.ts:83
↓ 39 callers
Method
waitForSpecToFinish
* Adapter to wait for a spec to finish in a standard way. It * * 1. Waits for the stats to reset which signifies that the test page has
npm/vite-dev-server/cypress/support/commands.ts:14
↓ 37 callers
Function
fn
(express, errmsg)
packages/driver/src/cy/chai.ts:514
↓ 37 callers
Method
start
(props: TestProps)
packages/reporter/src/test/test-model.ts:174
↓ 36 callers
Method
resolve
()
packages/data-context/test/unit/actions/CodegenActions.spec.ts:149
↓ 35 callers
Function
getCtx
()
packages/data-context/src/index.ts:51
↓ 35 callers
Method
stubMutationResolver
* mock a mutation resolver when needed to spy on it or modify the result * @param document * @param resolver
packages/frontend-shared/cypress/support/mock-graphql/mountFragment.ts:267
↓ 34 callers
Function
callback
()
packages/driver/src/cy/commands/connectors.ts:344
↓ 34 callers
Function
fetch
(input: RequestInfo | URL, options: FetchOptions)
packages/server/lib/cloud/network/fetch.ts:47
↓ 33 callers
Method
run
* Execute a headless Cypress test run. * @see https://on.cypress.io/module-api#cypress-run * @example ``` const cypress = require(
cli/types/cypress-npm-api.d.ts:373
↓ 33 callers
Method
snapshot
(name?: string, options?: { at?: number, next: string })
cli/types/cypress.d.ts:6611
↓ 32 callers
Method
env
* Returns all environment variables set with CYPRESS_ prefix or in "env" object in "cypress.config.{js,ts,mjs,cjs}" * * @see https://on.cypr
cli/types/cypress.d.ts:517
↓ 32 callers
Function
generateMochaTestsForWin
(win, obj)
system-tests/project-fixtures/runner-specs/cypress/e2e/support/generate-mocha-tests.js:158
↓ 31 callers
Function
config
(key: string)
packages/driver/test/unit/cypress/log.spec.ts:99
↓ 31 callers
Method
fail
(err, options: { async?: boolean } = {})
packages/driver/src/cypress/cy.ts:377
↓ 31 callers
Method
reload
* Reload the page. * * @see https://on.cypress.io/reload * @example * cy.visit('http://localhost:3000/admin') * cy.relo
cli/types/cypress.d.ts:1925
↓ 31 callers
Method
removeListener
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:16
↓ 30 callers
Method
isElement
* Throws an error if `subject` is not a DOM element.
cli/types/cypress.d.ts:149
↓ 30 callers
Method
merge
(log)
packages/driver/src/cypress/log.ts:564
↓ 30 callers
Method
parent
* Get the parent DOM element of a set of DOM elements. * * @see https://on.cypress.io/parent
cli/types/cypress.d.ts:1758
↓ 30 callers
Method
request
* Make an HTTP GET request. * * @see https://on.cypress.io/request * @example * cy.request('http://dev.local/seed')
cli/types/cypress.d.ts:1968
↓ 29 callers
Function
debug
()
packages/proxy/test/unit/http/response-middleware.spec.ts:2003
↓ 29 callers
Method
is
(str)
packages/driver/src/cypress/command.ts:109
↓ 29 callers
Method
listen
()
packages/https-proxy/lib/server.ts:334
↓ 29 callers
Method
scrollIntoView
* Scroll an element into view. * * @see https://on.cypress.io/scrollintoview
cli/types/cypress.d.ts:2024
↓ 28 callers
Function
before
()
packages/reporter/cypress/support/e2e.ts:6
↓ 28 callers
Method
clone
()
packages/driver/src/cypress/command.ts:157
↓ 28 callers
Method
fixture
* Load a fixed set of data located in a file. * * @see https://on.cypress.io/fixture
cli/types/cypress.d.ts:1448
↓ 28 callers
Function
jQuery
(selector, context)
packages/driver/cypress/fixtures/jquery-3.2.1.js:94
↓ 28 callers
Method
reply
* Control the response to this request. * If a function is passed, the request will be sent outgoing, and the function will be called * with
packages/network-interception/lib/types/external-types.ts:185
↓ 28 callers
Method
shift
(queueKey: string)
packages/proxy/lib/http/util/prerequests.ts:60
↓ 27 callers
Method
document
* Get the window.document of the page that is currently active. * * @see https://on.cypress.io/document * @example * cy.documen
cli/types/cypress.d.ts:1362
↓ 27 callers
Method
ensureDir
(type: 'e2e' | 'fixtures' | 'support')
packages/data-context/src/actions/WizardActions.ts:387
↓ 27 callers
Function
exec
* Executes a given project and optionally sanitizes and checks output. * @example ``` systemTests.setup() project = Fixtures.projec
system-tests/lib/system-tests.ts:1005
↓ 27 callers
Method
screenshot
* Take a screenshot of the application under test and the Cypress Command Log. * * @see https://on.cypress.io/screenshot * @example
cli/types/cypress.d.ts:2007
↓ 26 callers
Function
createTestDataContext
(mode: DataContextConfig['mode'] = 'run', modeOptions: Partial<RunModeOptions | OpenModeOptions> = {})
packages/data-context/test/unit/helper.ts:41
↓ 26 callers
Method
isWindow
* Throws an error if `subject` is not a `window`.
cli/types/cypress.d.ts:159
↓ 26 callers
Function
join
(char: string, ...pieces: (string | undefined)[])
packages/server/lib/util/ci_provider.ts:9
↓ 26 callers
Method
location
* Get the global `window.location` object of the page that is currently active. * * @see https://on.cypress.io/location * @example
cli/types/cypress.d.ts:1617
↓ 26 callers
Method
removeEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:15
↓ 26 callers
Method
writeFileInProject
(relativePath: string, data: any)
packages/data-context/src/actions/FileActions.ts:23
↓ 25 callers
Method
delete
(flag: Flag)
tooling/v8-snapshot/src/generator/snapshot-generator-flags.ts:36
↓ 24 callers
Method
automation
* Fire automation:request event for internal use.
cli/types/cypress.d.ts:461
↓ 24 callers
Method
clock
* `cy.clock()` overrides native global functions related to time allowing them to be controlled * synchronously via [cy.tick()](https://on.cypres
cli/types/cypress.d.ts:1181
↓ 24 callers
Function
getError
(type: Type, ...args: Parameters<AllCypressErrorObj[Type]>)
packages/errors/src/errors.ts:1657
↓ 24 callers
Function
logError
(err: CypressError | ErrorLike, color: AllowedChalkColors = 'red', causeDepth: number = 3)
packages/errors/src/errorUtils.ts:54
↓ 24 callers
Method
scrollTo
* Scroll to a specific position. * * @see https://on.cypress.io/scrollto
cli/types/cypress.d.ts:2031
↓ 23 callers
Method
getConfig
()
packages/data-context/src/actions/ProjectActions.ts:42
↓ 23 callers
Method
getElements
(cypressDom)
packages/app/src/runner/aut-iframe.ts:598
↓ 23 callers
Method
render
()
packages/data-context/test/unit/actions/project/counter-class.jsx:17
↓ 23 callers
Method
tick
* Move the clock the specified number of `milliseconds`. * Any timers within the affected range of time will be called. * @param time Number
cli/types/cypress.d.ts:6499
↓ 22 callers
Method
clone
()
packages/server/lib/browsers/cri-client.ts:402
↓ 22 callers
Method
getCookie
* Get a browser cookie by its name. * * @see https://on.cypress.io/getcookie
cli/types/cypress.d.ts:1521
↓ 22 callers
Method
getCookies
* Get browser cookies for a domain. * * @see https://on.cypress.io/getcookies
cli/types/cypress.d.ts:1528
↓ 22 callers
Method
readFileInProject
(relativePath: string)
packages/data-context/src/actions/FileActions.ts:11
↓ 22 callers
Method
session
* Save/Restore browser Cookies, LocalStorage, and SessionStorage data resulting from the supplied `setup` function. * * @see https://on.cy
cli/types/cypress.d.ts:1351
↓ 21 callers
Method
backend
(eventName, ...args)
packages/driver/src/cypress.ts:897
↓ 21 callers
Function
before
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5922
↓ 21 callers
Method
close
()
packages/types/src/protocol.ts:138
↓ 21 callers
Method
createServer
( app: Express, config: Cfg, onWarning: unknown, )
packages/server/lib/server-base.ts:263
↓ 20 callers
Method
getSpan
(name: string)
packages/telemetry/src/telemetry/index.ts:39
↓ 20 callers
Method
onError
(err: any)
packages/data-context/src/sources/GitDataSource.ts:63
↓ 20 callers
Method
shouldWithTimeout
(cb: (subj: {}) => void, timeout?: number)
packages/driver/types/spec-types.d.ts:7
↓ 19 callers
Method
blur
* Blur a focused element. This element must currently be in focus. * If you want to ensure an element is focused before blurring, * try usin
cli/types/cypress.d.ts:941
↓ 19 callers
Function
errMsg
(key: string, value: any, type: string)
packages/config/src/validation.ts:22
↓ 19 callers
Function
findCrossOriginLogs
(consolePropCommand, logMap, matchingOrigin)
packages/driver/cypress/support/utils.ts:76
↓ 19 callers
Method
setCookie
* Set a browser cookie. * * @see https://on.cypress.io/setcookie
cli/types/cypress.d.ts:2065
↓ 18 callers
Method
overwrite
* Overwrite an existing Cypress command with a new implementation * @see https://on.cypress.io/api/commands#Overwrite-Existing-Commands
cli/types/cypress.d.ts:877
↓ 18 callers
Method
subjectChain
(chainerId: string = this.state('chainerId'))
packages/driver/src/cypress/cy.ts:1253
↓ 17 callers
Method
clearCookies
* Clear browser cookies for a domain. * * Cypress automatically clears all cookies _before_ each test to prevent * state from being sha
cli/types/cypress.d.ts:1005
↓ 17 callers
Method
execute
(event: PluginExecuteEvent, ids: PluginInvokeIds, args: any[] = [])
packages/server/lib/plugins/child/run_plugins.ts:149
← previous
next →
101–200 of 9,434, ranked by callers