���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/tests/selenium/pageobjects/protect.page.js
���ѧ٧ѧ�
'use strict'; const Page = require( 'wdio-mediawiki/Page' ); class ProtectPage extends Page { get reason() { return $( '#mwProtect-reason input' ); } get editProtectSelect() { return $( '#mwProtect-level-edit select' ); } get submit() { return $( '#mw-Protect-submit' ); } open( title ) { super.openTitle( title, { action: 'protect' } ); } protect( title, reason, editProtect ) { this.open( title ); this.reason.setValue( reason ); this.editProtectSelect.selectByVisibleText( editProtect ); this.submit.click(); } } module.exports = new ProtectPage();
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.21 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�