UNPKG
template-maker
Version:
latest (1.0.1)
1.0.1
1.0.0
A CLI to generate project templates with alot of options!!
template-maker
/
templates
/
angular
/
angular-temp
/
e2e
/
src
/
app.po.ts
12 lines
(9 loc)
•
274 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import { browser,
by
, element }
from
'protractor'
; export
class
AppPage
{
async
navigateTo
(): Promise<unknown>
{
return
browser.
get
(browser.baseUrl); }
async
getTitleText
(): Promise<
string
>
{
return
element(
by
.css(
'app-root .content span'
)).getText(); } }