cypress-cucumber-steps
Version:
Cypress Cucumber step definitions
67 lines • 1.63 kB
TypeScript
import { DataTable } from '@badeball/cypress-cucumber-preprocessor';
/**
* When I get element by selector:
*
* ```gherkin
* When I get element by selector {string}
* ```
*
* Get the first DOM element by selector.
*
* @example
*
* Yield the first `<li>` in `.list`:
*
* ```gherkin
* When I get element by selector ".list > li"
* ```
*
* With [options](https://docs.cypress.io/api/commands/get#Arguments):
*
* ```gherkin
* When I get element by selector ".dropdown-menu"
* | log | true |
* | timeout | 4000 |
* | withinSubject | null |
* | includeShadowDom | false |
* ```
*
* @see
*
* - {@link When_I_get_elements_by_selector | When I get elements by selector}
* - {@link When_I_find_element_by_selector | When I find element by selector}
*/
export declare function When_I_get_element_by_selector(selector: string, options?: DataTable): void;
/**
* When I get elements by selector:
*
* ```gherkin
* When I get elements by selector {string}
* ```
*
* Get DOM elements by selector.
*
* @example
*
* Yield all `<li>` in `.list`:
*
* ```gherkin
* When I get elements by selector ".list > li"
* ```
*
* With [options](https://docs.cypress.io/api/commands/get#Arguments):
*
* ```gherkin
* When I get element by selector ".dropdown-menu"
* | log | true |
* | timeout | 4000 |
* | withinSubject | null |
* | includeShadowDom | false |
* ```
*
* @see
*
* - {@link When_I_get_element_by_selector | When I get element by selector}
*/
export declare function When_I_get_elements_by_selector(selector: string, options?: DataTable): void;
//# sourceMappingURL=get.d.ts.map