UNPKG
protractor
Version:
latest (7.0.0)
7.0.0
6.0.0
6.0.0-beta
5.4.4
5.4.3
5.4.2
5.4.1
5.4.0
5.3.2
5.3.1
5.3.0
5.2.2
5.2.1
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
4.0.14
4.0.13
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.3.0
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
2.5.1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.0
1.4.0
1.3.1
1.3.0
1.2.0
1.2.0-beta1
1.1.1
1.1.0
1.0.0
1.0.0-rc6
1.0.0-rc5
1.0.0-rc4
1.0.0-rc3
1.0.0-rc2
1.0.0-rc1
0.24.2
0.24.1
0.24.0
0.23.1
0.23.0
0.22.0
0.21.0
0.20.1
0.20.0
0.19.0
0.18.1
0.18.0
0.17.0
0.16.1
0.16.0
0.15.0
0.14.0
0.13.0
0.12.1
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.1
0.5.0
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
0.1.1
0.1.0
0.0.0
Webdriver E2E test wrapper for Angular.
github.com/angular/protractor
angular/protractor
protractor
/
testapp
/
polling
/
polling.html
5 lines
(4 loc)
•
234 B
HTML
View Raw
1
2
3
4
5
<
div
>
This view shows a controller which uses a polling mechanism to contact the server. It is constantly using angular's $timeout.
</
div
>
<
button
id
=
"pollstarter"
ng-click
=
"startPolling()"
>
Start Polling
</
button
>
<
div
>
{{count}}
</
div
>