2 const Page
= require( './page' );
4 class RestorePage
extends Page
{
6 get reason() { return browser
.element( '#wpComment' ); }
7 get submit() { return browser
.element( '#mw-undelete-submit' ); }
8 get displayedContent() { return browser
.element( '#mw-content-text' ); }
11 super.open( 'Special:Undelete/' + name
);
14 restore( name
, reason
) {
16 this.reason
.setValue( reason
);
21 module
.exports
= new RestorePage();