%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/www/varak.net/wiki.varak.net/tests/selenium/pageobjects/
Upload File :
Create Path :
Current File : //proc/thread-self/root/www/varak.net/wiki.varak.net/tests/selenium/pageobjects/undo.page.js

const Page = require( 'wdio-mediawiki/Page' );

class UndoPage extends Page {

	get save() { return browser.element( '#wpSave' ); }

	undo( title, previousRev, undoRev ) {
		super.openTitle( title, { action: 'edit', undoafter: previousRev, undo: undoRev } );
		this.save.click();
	}

}

module.exports = new UndoPage();

Zerion Mini Shell 1.0