/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
docs/e2e/src/app.po.ts
21 строка
516 B
Kristiyan Kostadinov
build: reuse tslint rules for docs site and fix failures
29 апр 2025, 15:02
29 апр 2025, 15:02
da9627d
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {browser, by, element} from 'protractor'; export class MaterialDocsAppPage { navigateTo() { return browser.get(browser.baseUrl) as Promise<any>; } getTitleText() { return element( by.css('app-homepage header .docs-header-headline .mat-h1'), ).getText() as Promise<string>; } }