# Cypress > title: 'and | Cypress Documentation' ## Pages - [and | Cypress Documentation](docs-api-commands-and.md): Create an assertion. Assertions are automatically retried as part of the - [as | Cypress Documentation](docs-api-commands-as.md): Assign an alias for later use. Reference the alias later within a - [blur | Cypress Documentation](docs-api-commands-blur.md): Blur a focused element. - [check | Cypress Documentation](docs-api-commands-check.md): Check checkbox(es) or radio(s). - [children | Cypress Documentation](docs-api-commands-children.md): Get the children of each DOM element within a set of DOM elements. - [clear | Cypress Documentation](docs-api-commands-clear.md): Clear the value of an`input`or`textarea`. - [clearAllCookies | Cypress Documentation](docs-api-commands-clearallcookies.md): Clear all browser cookies. - [clearAllLocalStorage | Cypress Documentation](docs-api-commands-clearalllocalstorage.md): Clear - [clearAllSessionStorage | Cypress Documentation](docs-api-commands-clearallsessionstorage.md): Clear - [clearCookie | Cypress Documentation](docs-api-commands-clearcookie.md): Clear a specific browser cookie. - [clearCookies | Cypress Documentation](docs-api-commands-clearcookies.md): Clear browser cookies for a domain. - [clearLocalStorage | Cypress Documentation](docs-api-commands-clearlocalstorage.md): Clear data in localStorage for current domain and subdomain. - [click | Cypress Documentation](docs-api-commands-click.md): Click a DOM element. - [clock | Cypress Documentation](docs-api-commands-clock.md): `cy.clock()`overrides native global functions related to time allowing them to - [closest | Cypress Documentation](docs-api-commands-closest.md): Get the first DOM element that matches the selector (whether it be itself or one - [contains | Cypress Documentation](docs-api-commands-contains.md): Get the DOM element containing the text. DOM elements can contain _more_ than - [dblclick | Cypress Documentation](docs-api-commands-dblclick.md): Double-click a DOM element. - [debug | Cypress Documentation](docs-api-commands-debug.md): Set a`debugger`and log what the previous command yields. - [document | Cypress Documentation](docs-api-commands-document.md): Get the`window.document`of the page that is currently active. - [each | Cypress Documentation](docs-api-commands-each.md): Iterate through an array like structure (arrays or objects with a`length` - [end | Cypress Documentation](docs-api-commands-end.md): End a chain of commands. - [eq | Cypress Documentation](docs-api-commands-eq.md): Get A DOM element at a specific index in an array of elements. - [exec | Cypress Documentation](docs-api-commands-exec.md): Execute a system command. - [filter | Cypress Documentation](docs-api-commands-filter.md): Get the DOM elements that match a specific selector. - [find | Cypress Documentation](docs-api-commands-find.md): Get the descendent DOM elements of a specific selector. - [first | Cypress Documentation](docs-api-commands-first.md): Get the first DOM element within a set of DOM elements. - [fixture | Cypress Documentation](docs-api-commands-fixture.md): Load a fixed set of data located in a file. - [focus | Cypress Documentation](docs-api-commands-focus.md): Focus on a DOM element. - [focused | Cypress Documentation](docs-api-commands-focused.md): Get the DOM element that is currently focused. - [get | Cypress Documentation](docs-api-commands-get.md): Get one or more DOM elements by selector or - [getAllCookies | Cypress Documentation](docs-api-commands-getallcookies.md): Get all browser cookies. - [getAllLocalStorage | Cypress Documentation](docs-api-commands-getalllocalstorage.md): Get - [getAllSessionStorage | Cypress Documentation](docs-api-commands-getallsessionstorage.md): Get - [getCookie | Cypress Documentation](docs-api-commands-getcookie.md): Get a browser cookie by its name. - [getCookies | Cypress Documentation](docs-api-commands-getcookies.md): Get browser cookies for the current domain or the specified domain. - [go | Cypress Documentation](docs-api-commands-go.md): Navigate back or forward to the previous or next URL in the browser's history. - [hash | Cypress Documentation](docs-api-commands-hash.md): Get the current URL hash of the page that is currently active. - [hover | Cypress Documentation](docs-api-commands-hover.md): :::danger - [intercept | Cypress Documentation](docs-api-commands-intercept.md): Spy and stub network requests and responses. - [invoke | Cypress Documentation](docs-api-commands-invoke.md): Invoke a function on the previously yielded subject. - [its | Cypress Documentation](docs-api-commands-its.md): Get a property's value on the previously yielded subject. - [last | Cypress Documentation](docs-api-commands-last.md): Get the last DOM element within a set of DOM elements. - [location | Cypress Documentation](docs-api-commands-location.md): Get the global`window.location`object of the page that is currently active. - [log | Cypress Documentation](docs-api-commands-log.md): Print a message to the Cypress Command Log. - [mount | Cypress Documentation](docs-api-commands-mount.md): Cypress does not have a built-in`cy.mount()`command. The command must be set - [next | Cypress Documentation](docs-api-commands-next.md): Get the immediately following sibling of each DOM element within a set of DOM - [nextAll | Cypress Documentation](docs-api-commands-nextall.md): Get all following siblings of each DOM element in a set of matched DOM elements. - [nextUntil | Cypress Documentation](docs-api-commands-nextuntil.md): Get all following siblings of each DOM element in a set of matched DOM elements - [not | Cypress Documentation](docs-api-commands-not.md): Filter DOM element(s) from a set of DOM elements. - [origin | Cypress Documentation](docs-api-commands-origin.md): Visit multiple different - [parent | Cypress Documentation](docs-api-commands-parent.md): Get the parent DOM element of a set of DOM elements. - [parents | Cypress Documentation](docs-api-commands-parents.md): Get the parent DOM elements of a set of DOM elements. - [parentsUntil | Cypress Documentation](docs-api-commands-parentsuntil.md): Get all ancestors of each DOM element in a set of matched DOM elements up to, - [pause | Cypress Documentation](docs-api-commands-pause.md): Stop`cy`commands from running and allow interaction with the application under - [cy.press() | Cypress Documentation](docs-api-commands-press.md): Trigger native key events in your application to simulate keyboard interactions. - [prev | Cypress Documentation](docs-api-commands-prev.md): Get the immediately preceding sibling of each element in a set of the elements. - [prevAll | Cypress Documentation](docs-api-commands-prevall.md): Get all previous siblings of each DOM element in a set of matched DOM elements. - [prevUntil | Cypress Documentation](docs-api-commands-prevuntil.md): Get all previous siblings of each DOM element in a set of matched DOM elements - [cy.prompt() - Generate Cypress Tests with Natural Language and AI](docs-api-commands-prompt.md): `cy.prompt`is a Cypress command that uses AI to convert natural language test steps into executable Cypress tests. I... - [readFile | Cypress Documentation](docs-api-commands-readfile.md): Read a file and yield its contents. - [reload | Cypress Documentation](docs-api-commands-reload.md): Reload the page. - [request | Cypress Documentation](docs-api-commands-request.md): Make an HTTP request. - [rightclick | Cypress Documentation](docs-api-commands-rightclick.md): Right click a DOM element. - [root | Cypress Documentation](docs-api-commands-root.md): Get the root DOM element. - [screenshot | Cypress Documentation](docs-api-commands-screenshot.md): Take a screenshot of the application under test and, optionally, the - [scrollIntoView | Cypress Documentation](docs-api-commands-scrollintoview.md): Scroll an element into view. - [scrollTo | Cypress Documentation](docs-api-commands-scrollto.md): Scroll to a specific position. - [select | Cypress Documentation](docs-api-commands-select.md): Select an``within a``. - [selectFile | Cypress Documentation](docs-api-commands-selectfile.md): Selects a file or files in an HTML5 input element or simulates dragging a file - [session | Cypress Documentation](docs-api-commands-session.md): Cache and restore [cookies](/api/cypress-api/cookies), - [setCookie | Cypress Documentation](docs-api-commands-setcookie.md): Set a browser cookie. - [shadow | Cypress Documentation](docs-api-commands-shadow.md): Traverse into the shadow DOM of an element. - [should | Cypress Documentation](docs-api-commands-should.md): Create an assertion. Assertions are automatically retried until they pass or - [siblings | Cypress Documentation](docs-api-commands-siblings.md): Get sibling DOM elements. - [spread | Cypress Documentation](docs-api-commands-spread.md): Expand an array into multiple arguments. - [spy | Cypress Documentation](docs-api-commands-spy.md): Wrap a method in a spy in order to record calls to and arguments of the - [stub | Cypress Documentation](docs-api-commands-stub.md): Replace a function, record its usage and control its behavior. - [submit | Cypress Documentation](docs-api-commands-submit.md): Submit a form. - [task | Cypress Documentation](docs-api-commands-task.md): Execute code in [Node](https://nodejs.org) via the`task`plugin event. - [then | Cypress Documentation](docs-api-commands-then.md): Enables you to work with the subject yielded from the previous command. - [tick | Cypress Documentation](docs-api-commands-tick.md): Move time after overriding a native time function with - [title | Cypress Documentation](docs-api-commands-title.md): Get the`document.title`property of the page that is currently active. - [trigger | Cypress Documentation](docs-api-commands-trigger.md): Trigger an event on a DOM element. - [type | Cypress Documentation](docs-api-commands-type.md): Type into a DOM element. - [uncheck | Cypress Documentation](docs-api-commands-uncheck.md): Uncheck checkbox(es). - [url | Cypress Documentation](docs-api-commands-url.md): Get the current URL of the page that is currently active. - [viewport | Cypress Documentation](docs-api-commands-viewport.md): Control the size and orientation of the screen for your application. - [visit | Cypress Documentation](docs-api-commands-visit.md): Visit a remote URL. - [wait | Cypress Documentation](docs-api-commands-wait.md): Wait for a number of milliseconds or wait for an aliased resource to resolve - [window | Cypress Documentation](docs-api-commands-window.md): Get the`window`object of the page that is currently active. - [within | Cypress Documentation](docs-api-commands-within.md): Scopes all subsequent Cypress commands to within the element. Useful when working - [wrap | Cypress Documentation](docs-api-commands-wrap.md): Yield the object passed into`.wrap()`. If the object is a promise, yield its - [writeFile | Cypress Documentation](docs-api-commands-writefile.md): Write to a file with the specified contents. - [Cypress.arch | Cypress Documentation](docs-api-cypress-api-arch.md): `Cypress.arch`returns you the CPU architecture name of the underlying OS, as - [Cypress.browser | Cypress Documentation](docs-api-cypress-api-browser.md): `Cypress.browser`returns you properties of the browser. - [Catalog of Events](docs-api-cypress-api-catalog-of-events.md): Cypress emits a series of events as it runs in your browser. - [Cypress.config | Cypress Documentation](docs-api-cypress-api-config.md): `get`and`set`configuration options _in your tests_. - [Cypress.Cookies | Cypress Documentation](docs-api-cypress-api-cookies.md): `Cookies.debug()`enables you to generate logs to the console whenever any - [Cypress.currentRetry | Cypress Documentation](docs-api-cypress-api-currentretry.md): `Cypress.currentRetry`is a number representing the current - [Cypress.currentTest | Cypress Documentation](docs-api-cypress-api-currenttest.md): `Cypress.currentTest`is an object representing the currently executing test - [Custom Commands in Cypress](docs-api-cypress-api-custom-commands.md): Cypress comes with its own API for creating custom commands and overwriting - [Custom Queries in Cypress](docs-api-cypress-api-custom-queries.md): Starting in Cypress 12, Cypress comes with its own API for creating custom - [Cypress.log | Cypress Documentation](docs-api-cypress-api-cypress-log.md): This is the internal API for controlling what gets printed to the Command Log. - [Cypress.dom | Cypress Documentation](docs-api-cypress-api-dom.md): `Cypress.dom.method()`is a collection of DOM related helper methods. - [Cypress.ElementSelector | Cypress Documentation](docs-api-cypress-api-element-selector-api.md): The ElementSelector API lets you define how Cypress selects elements in tools like [Cypress Studio](/app/guides/cypre... - [Cypress.ensure | Cypress Documentation](docs-api-cypress-api-ensure.md): `Cypress.ensure`is a collection of helper methods for making assertions. They - [Cypress.env | Cypress Documentation](docs-api-cypress-api-env.md): `get`and`set`environment variables _in your tests_. - [Cypress.isBrowser | Cypress Documentation](docs-api-cypress-api-isbrowser.md): `Cypress.isBrowser`checks if the current browser matches the given name or - [Cypress.isCy | Cypress Documentation](docs-api-cypress-api-iscy.md): `Cypress.isCy()`checks if a variable is a valid instance of`cy`or a`cy` - [Cypress.Keyboard | Cypress Documentation](docs-api-cypress-api-keyboard-api.md): The Keyboard API allows you to access available`Keys`for use with [`cy.press()`](/api/commands/press) or to set the... - [Cypress.platform | Cypress Documentation](docs-api-cypress-api-platform.md): `Cypress.platform`returns the underlying OS name, as returned from Node's - [Cypress.require | Cypress Documentation](docs-api-cypress-api-require.md): `Cypress.require`enables utilizing dependencies within the - [Cypress.Screenshot | Cypress Documentation](docs-api-cypress-api-screenshot-api.md): The Screenshot API allows you set defaults for how screenshots are captured - [Cypress.session | Cypress Documentation](docs-api-cypress-api-session.md): `Cypress.session`is a collection of async session-related helper methods - [Cypress.spec | Cypress Documentation](docs-api-cypress-api-spec.md): `Cypress.spec`returns you the properties of the spec under test. - [Cypress.stop() | Cypress Documentation](docs-api-cypress-api-stop.md): Stop the Cypress App on the current machine while tests are running. This can be useful for stopping test execution u... - [Cypress.testingType | Cypress Documentation](docs-api-cypress-api-testing-type.md): `Cypress.testingType`returns the current testing type, determined by your - [Cypress.version | Cypress Documentation](docs-api-cypress-api-version.md): `Cypress.version`returns you the current version of Cypress you are running. - [After Run Event | Cypress Node Events](docs-api-node-events-after-run-api.md): The`after:run`event fires after a run is finished. When running cypress via - [After Screenshot Event | Cypress Node Events](docs-api-node-events-after-screenshot-api.md): After a screenshot is taken, you can get details about the screenshot via the - [After Spec Event | Cypress Node Events](docs-api-node-events-after-spec-api.md): The`after:spec`event fires after a spec file is run. When running cypress via - [Before Run Event | Cypress Node Events](docs-api-node-events-before-run-api.md): The`before:run`event fires before a run starts. When running cypress via - [Before Spec Event | Cypress Node Events](docs-api-node-events-before-spec-api.md): The`before:spec`event fires before a spec file is run. When running cypress - [Browser Launch Event | Cypress Node Events](docs-api-node-events-browser-launch-api.md): Before Cypress launches a browser, it gives you the opportunity to modify the - [Configuration API in Node Events](docs-api-node-events-configuration-api.md): Cypress enables you to dynamically modify configuration values and environment - [Overview of Node Events in Cypress](docs-api-node-events-overview.md): Node event hooks enable you to tap into, modify, or extend the internal behavior of - [Preprocessors API in Node Events](docs-api-node-events-preprocessors-api.md): A preprocessor is the plugin responsible for preparing a - [Cypress API: Table of Contents](docs-api-table-of-contents.md): Cypress commands don't do anything at the moment they are invoked, but rather - [Cypress.$ | Cypress Documentation](docs-api-utilities.md): Cypress automatically includes [jQuery](http://jquery.com) and exposes it as - [Cypress.Blob | Cypress Documentation](docs-api-utilities-blob.md): Cypress automatically includes a - [Cypress.Buffer | Cypress Documentation](docs-api-utilities-buffer.md): Cypress automatically includes a [Buffer](https://github.com/feross/buffer) - [Cypress._ | Cypress Documentation](docs-api-utilities-lodash.md): Cypress automatically includes [lodash](https://lodash.com/) and exposes it as - [Cypress.minimatch | Cypress Documentation](docs-api-utilities-minimatch.md): Cypress automatically includes [minimatch](https://github.com/isaacs/minimatch) - [Cypress.Promise | Cypress Documentation](docs-api-utilities-promise.md): Cypress automatically includes - [Cypress.sinon](docs-api-utilities-sinon.md): Cypress automatically includes [Sinon.JS](http://sinonjs.org/) and exposes it as - [Angular API](docs-app-component-testing-angular-api.md): // for Angular 20 and 21 using zoneless configuration - [Angular Examples](docs-app-component-testing-angular-examples.md): :::info - [Angular Component Testing](docs-app-component-testing-angular-overview.md): :::info - [Configure Component Tests | Cypress Documentation](docs-app-component-testing-component-framework-configuration.md): :::info - [Custom Frameworks](docs-app-component-testing-custom-frameworks.md): :::info - [Component Testing in Cypress | Cypress Documentation](docs-app-component-testing-get-started.md): :::info - [React API](docs-app-component-testing-react-api.md): import { mount } from 'cypress/react' - [React Examples](docs-app-component-testing-react-examples.md): :::info - [React Component Testing](docs-app-component-testing-react-overview.md): :::info - [Test your component's styles | Cypress Documentation](docs-app-component-testing-styling-components.md): :::info - [Svelte API](docs-app-component-testing-svelte-api.md): import { mount } from 'cypress/svelte' - [Svelte Examples](docs-app-component-testing-svelte-examples.md): :::info - [Svelte Component Testing](docs-app-component-testing-svelte-overview.md): :::info - [Vue API](docs-app-component-testing-vue-api.md): import { mount } from 'cypress/vue' - [Vue Examples](docs-app-component-testing-vue-examples.md): :::info - [Vue Component Testing](docs-app-component-testing-vue-overview.md): :::info - [Run Cypress tests in AWS CodeBuild: Step-by-Step Guide](docs-app-continuous-integration-aws-codebuild.md): :::info - [Run Cypress tests in Bitbucket Pipelines: Step-by-Step Guide](docs-app-continuous-integration-bitbucket-pipelines.md): :::info - [Run Cypress tests in CircleCI: A Step-by-Step Guide](docs-app-continuous-integration-circleci.md): :::info - [Run Cypress tests in GitHub Actions: A Step-by-Step Guide](docs-app-continuous-integration-github-actions.md): :::info - [Run Cypress in GitLab CI: A Step-by-Step Guide](docs-app-continuous-integration-gitlab-ci.md): :::info - [Continuous Integration with Cypress](docs-app-continuous-integration-overview.md): :::info - [Frequently Asked Questions | Cypress Documentation](docs-app-faq.md): The [Cypress App](/app/get-started/why-cypress) is a free, downloadable and open