#cy.pointerCursors()
// Get cursor settings
cy.pointerCursors(): boolean | Partial<CursorMap>Read the pointer cursor settings.
Returns
boolean | Partial<CursorMap>true or false for built-in cursors, or the custom cursor configuration
#cy.pointerCursors(cursors)
// Set cursor settings
cy.pointerCursors(cursors: boolean | Partial<CursorMap>): thisSet the pointer cursors used by gestures.
| Name | Description |
|---|---|
cursors: boolean | Partial<CursorMap> | true for built-in cursors, false to disable, or custom cursors |
Returns
thisthis core, for chaining
Example
const result = cy.pointerCursors(false);console.log(result === cy); // true