| 1 | 'use strict'; |
| 2 | |
| 3 | const Page = require( 'wdio-mediawiki/Page' ); |
| 4 | |
| 5 | class NotificationsPage extends Page { |
| 6 | |
| 7 | get notificationHeading() { |
| 8 | return $( '#firstHeading' ); |
| 9 | } |
| 10 | |
| 11 | open() { |
| 12 | super.openTitle( 'Special:Notifications', { uselang: 'en' } ); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | module.exports = new NotificationsPage(); |