mediawiki-skins-MinervaNeue/tests/selenium/features/support/pages/special_mobilediff_page.js
Ed Sanders 8ef144f936 build: Update linters
Change-Id: I5aa3ab891890b52057a5fc855315e5b1b2203037
2024-01-24 22:02:12 +00:00

29 lines
496 B
JavaScript

'use strict';
/**
* Represents the mobile-first Special:MobileDiff page
*
* @extends Page
* @example
* https://en.m.wikipedia.org/wiki/Special:MobileDiff/833886807
*/
const { Page } = require( './mw_core_pages' );
class SpecialMobileDiffPage extends Page {
get inserted_content_element() {
return $( 'ins' );
}
get deleted_content_element() {
return $( 'del' );
}
get user_info_element() {
return $( '#mw-mf-userinfo' );
}
}
module.exports = new SpecialMobileDiffPage();