UNPKG

cypress-cucumber-steps

Version:
31 lines 708 B
/** * When I find element by text: * * ```gherkin * When I find element by text {string} * ``` * * @example * * ```gherkin * When I find element by text "Text" * ``` * * @remarks * * This precedes steps like {@link When_I_click | "When I click"}. For example: * * ```gherkin * When I find element by text "Text" * And I click * ``` * * Inspired by Testing Library's [ByText](https://testing-library.com/docs/queries/bytext). * * @see * * - {@link When_I_find_button_by_text | When I find button by text} * - {@link When_I_find_link_by_text | When I find link by text} */ export declare function When_I_find_element_by_text(text: string): void; //# sourceMappingURL=text.d.ts.map