Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cypress-io/cypress
/ functions
Functions
10,225 in github.com/cypress-io/cypress
⨍
Functions
10,225
◇
Types & classes
1,804
↓ 57 callers
Method
emit
(event: 'rerun')
packages/server/lib/plugins/preprocessor.ts:21
↓ 57 callers
Method
send
(command: 'Runtime.enable' | 'Runtime.addBinding' | 'Runtime.evaluate', params?: object)
packages/socket/lib/node/cdp-socket.ts:15
↓ 57 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:581
↓ 56 callers
Function
assert
(...args)
packages/driver/src/cy/assertions.ts:483
↓ 56 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:1558
↓ 55 callers
Method
destroy
()
packages/types/src/studio/studio-server-types.ts:82
↓ 55 callers
Method
push
(message: T, data: AutomationCommands[T]['dataType'])
packages/server/lib/automation/automation.ts:200
↓ 55 callers
Method
startSpan
(arg: startSpanOptions)
packages/telemetry/src/telemetry/index.ts:38
↓ 55 callers
Method
visitApp
* Visits the Cypress app, for Cypress-in-Cypress testing
packages/frontend-shared/cypress/support/e2e.ts:174
↓ 53 callers
Function
clearTimeout
()
packages/driver/src/cy/timeouts.ts:26
↓ 52 callers
Method
task
* Run a task in Node via the plugins file. * * @see https://on.cypress.io/api/task
cli/types/cypress.d.ts:2184
↓ 51 callers
Method
addEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:20
↓ 51 callers
Method
delete
(flag: Flag)
tooling/v8-snapshot/src/generator/snapshot-generator-flags.ts:36
↓ 51 callers
Method
trigger
* Trigger an event on a DOM element. * * @see https://on.cypress.io/trigger
cli/types/cypress.d.ts:2333
↓ 50 callers
Method
close
* Calls underlying remote interface client close
packages/server/lib/browsers/cdp-protocol/cri-client.ts:73
↓ 49 callers
Function
cb
(resp)
packages/server/test/unit/socket_spec.ts:241
↓ 49 callers
Function
resolve
(depth, deferred, handler, special)
packages/driver/cypress/fixtures/jquery-3.2.1.js:3563
↓ 48 callers
Method
text
(text: string)
cli/types/cy-chai.d.ts:7
↓ 47 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:1193
↓ 47 callers
Function
cmd
(command, args = '')
packages/driver/src/cypress/error_messages.ts:51
↓ 46 callers
Method
set
(key: K, value: LogConfig[K])
cli/types/cypress.d.ts:6589
↓ 45 callers
Function
mount
(componentOptions: any, options: any = {})
npm/vue/src/index.ts:393
↓ 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:2428
↓ 44 callers
Method
appendChild
(child)
packages/driver/cypress/e2e/commands/misc.cy.js:366
↓ 44 callers
Function
resolve
( depth, deferred, handler, special )
system-tests/projects/e2e/static/jquery.js:3494
↓ 44 callers
Method
specsPageIsVisible
* Verifies the specs page is visible (list, no specs, or create spec page)
packages/frontend-shared/cypress/support/e2e.ts:178
↓ 42 callers
Method
get
(fixture, encoding?: BufferEncoding)
packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts:92
↓ 42 callers
Method
waitForSpecToFinish
* Adapter to wait for a spec to finish in a standard way. It * * 1. Waits for 'Your tests are loading...' to not be present so that we k
npm/vite-dev-server/cypress/support/commands.ts:16
↓ 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
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:936
↓ 41 callers
Function
on
( elem, types, selector, data, fn, one )
system-tests/projects/e2e/static/jquery.js:4809
↓ 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:808
↓ 40 callers
Method
append
(name: string, value: CypressHeaderValue)
packages/proxy/lib/types.ts:53
↓ 39 callers
Function
assertLogLength
(logs, expectedLength)
packages/driver/cypress/support/utils.ts:76
↓ 39 callers
Method
fail
(err, options: { async?: boolean } = {})
packages/driver/src/cypress/cy.ts:384
↓ 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:1413
↓ 39 callers
Method
off
(eventName: string, cb: (event: any) => void)
packages/types/src/protocol.ts:17
↓ 39 callers
Method
unshift
(value: Command<any>)
packages/server/lib/browsers/cdp-protocol/cdp-command-queue.ts:99
↓ 38 callers
Function
fn
(express, errmsg)
packages/driver/src/cy/chai.ts:531
↓ 36 callers
Method
resolve
()
packages/data-context/test/unit/actions/CodegenActions.spec.ts:149
↓ 35 callers
Method
listen
()
packages/https-proxy/lib/server.ts:334
↓ 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
exec
* Executes a given project and optionally sanitizes and checks output. * @example ``` systemTests.setup() project = Fixtures.projec
system-tests/lib/system-tests.ts:1037
↓ 34 callers
Method
removeListener
(event: string | symbol, listener: (...args: any[]) => void)
cli/types/cypress-eventemitter.d.ts:16
↓ 33 callers
Function
dedent
(html: string)
cli/lib/tap/render/dom.ts:11
↓ 33 callers
Function
getCtx
()
packages/data-context/src/index.ts:56
↓ 33 callers
Method
snapshot
(name?: string, options?: { at?: number, next: string })
cli/types/cypress.d.ts:6591
↓ 32 callers
Function
generateMochaTestsForWin
(win, obj)
system-tests/project-fixtures/runner-specs/cypress/e2e/support/generate-mocha-tests.js:158
↓ 32 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
↓ 31 callers
Function
config
(key: string)
packages/driver/test/unit/cypress/log.spec.ts:364
↓ 31 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:1327
↓ 31 callers
Function
fetch
()
packages/driver/src/cy/commands/storage.ts:75
↓ 31 callers
Method
isElement
* Throws an error if `subject` is not a DOM element.
cli/types/cypress.d.ts:149
↓ 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:1875
↓ 31 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:1918
↓ 30 callers
Method
is
(str)
packages/driver/src/cypress/command.ts:109
↓ 29 callers
Function
debug
()
packages/proxy/test/unit/http/response-middleware.spec.ts:2029
↓ 29 callers
Method
merge
(log)
packages/driver/src/cypress/log.ts:759
↓ 29 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:1708
↓ 29 callers
Method
scrollIntoView
* Scroll an element into view. * * @see https://on.cypress.io/scrollintoview
cli/types/cypress.d.ts:1974
↓ 28 callers
Method
ensureDir
(type: 'e2e' | 'fixtures' | 'support')
packages/data-context/src/actions/WizardActions.ts:388
↓ 28 callers
Method
env
* Gets multiple environment variables. * @see https://on.cypress.io/env * @example * cy.env(['KEY_1', 'KEY_2']).then(({ KEY_1, KEY_2
cli/types/cypress.d.ts:2192
↓ 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:1398
↓ 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:191
↓ 28 callers
Method
start
(props: TestProps)
packages/reporter/src/test/test-model.ts:176
↓ 27 callers
Function
before
()
packages/reporter/cypress/support/e2e.ts:6
↓ 27 callers
Method
clone
()
packages/driver/src/cypress/command.ts:157
↓ 27 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:1567
↓ 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:1957
↓ 27 callers
Method
setHeader
(name: string, value: CypressHeaderValue)
packages/proxy/lib/types.ts:54
↓ 27 callers
Method
shift
(queueKey: string)
packages/proxy/lib/http/util/prerequests.ts:60
↓ 27 callers
Method
writeFileInProject
(relativePath: string, data: any)
packages/data-context/src/actions/FileActions.ts:23
↓ 26 callers
Function
createTestDataContext
(mode: DataContextConfig['mode'] = 'run', modeOptions: Partial<RunModeOptions | OpenModeOptions> = {})
packages/data-context/test/unit/helper.ts:43
↓ 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
removeEventListener
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions)
packages/proxy/lib/http/util/service-worker-injector.ts:21
↓ 25 callers
Method
automation
* Fire automation:request event for internal use.
cli/types/cypress.d.ts:461
↓ 25 callers
Method
createServer
( app: Express, config: Cfg, onWarning: unknown, )
packages/server/lib/server-base.ts:341
↓ 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:1146
↓ 24 callers
Function
getError
(type: Type, ...args: Parameters<AllCypressErrorObj[Type]>)
packages/errors/src/errors.ts:1733
↓ 24 callers
Method
kill
()
system-tests/lib/tap-open.ts:165
↓ 23 callers
Method
close
()
packages/types/src/protocol.ts:138
↓ 23 callers
Method
getConfig
()
packages/data-context/src/actions/ProjectActions.ts:43
↓ 23 callers
Method
getCookie
* Get a browser cookie by its name. * * @see https://on.cypress.io/getcookie
cli/types/cypress.d.ts:1471
↓ 23 callers
Method
getElements
(cypressDom)
packages/app/src/runner/aut-iframe.ts:616
↓ 23 callers
Function
logError
(err: CypressError | ErrorLike, color: AllowedChalkColors = 'red', causeDepth: number = 3)
packages/errors/src/errorUtils.ts:54
↓ 23 callers
Method
render
()
packages/data-context/test/unit/actions/project/counter-class.jsx:17
↓ 23 callers
Method
scrollTo
* Scroll to a specific position. * * @see https://on.cypress.io/scrollto
cli/types/cypress.d.ts:1981
↓ 23 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:1316
↓ 23 callers
Method
start
()
packages/server/lib/browsers/cdp-protocol/cdp-body-capture.ts:42
↓ 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:6485
↓ 22 callers
Method
clone
()
packages/server/lib/browsers/cdp-protocol/cri-client.ts:763
↓ 22 callers
Method
getCookies
* Get browser cookies for a domain. * * @see https://on.cypress.io/getcookies
cli/types/cypress.d.ts:1478
↓ 22 callers
Function
next
(err)
packages/driver/src/cypress/runner.ts:1720
↓ 22 callers
Method
readFileInProject
(relativePath: string)
packages/data-context/src/actions/FileActions.ts:11
↓ 21 callers
Method
backend
(eventName, ...args)
packages/driver/src/cypress.ts:878
↓ 21 callers
Function
before
()
packages/driver/cypress/fixtures/jquery-3.2.1.js:5922
← previous
next →
101–200 of 10,225, ranked by callers