File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -544,15 +544,15 @@ export interface Locator extends LocatorSelectors {
544544 *
545545 * @see {@link https://vitest.dev/guide/browser/locators#element }
546546 */
547- element ( ) : Element
547+ element ( ) : HTMLElement | SVGElement
548548 /**
549549 * Returns an array of elements matching the selector.
550550 *
551551 * If no elements match the selector, an empty array is returned.
552552 *
553553 * @see {@link https://vitest.dev/guide/browser/locators#elements }
554554 */
555- elements ( ) : Element [ ]
555+ elements ( ) : ( HTMLElement | SVGElement ) [ ]
556556 /**
557557 * Returns an element matching the selector.
558558 *
@@ -561,7 +561,7 @@ export interface Locator extends LocatorSelectors {
561561 *
562562 * @see {@link https://vitest.dev/guide/browser/locators#query }
563563 */
564- query ( ) : Element | null
564+ query ( ) : HTMLElement | SVGElement | null
565565 /**
566566 * Wraps an array of `.elements()` matching the selector in a new `Locator`.
567567 *
You can’t perform that action at this time.
0 commit comments