page_url ''
- a(:edit_link, href: /action=edit/)
+ a(:edit_link, css: '#ca-edit a')
li(:help_link, id: 'n-help')
div(:page_content, id: 'content')
li(:page_information_link, id: 't-info')
li(:permanent_link_link, id: 't-permalink')
- a(:printable_version_link, href: /printable=yes/)
+ a(:printable_version_link, css: '#t-print a')
li(:random_page_link, id: 'n-randompage')
li(:recent_changes_link, id: 'n-recentchanges')
li(:related_changes_link, id: 't-recentchangeslinked')
li(:special_pages_link, id: 't-specialpages')
- a(:view_history_link, href: /action=history/)
+ a(:view_history_link, css: '#ca-history a')
li(:what_links_here_link, id: 't-whatlinkshere')
end
radio_button(:monobook, id: 'mw-input-wpskin-monobook')
radio_button(:no_preference_radio, id: 'mw-input-wpdate-default')
text_field(:other_offset, id: 'mw-input-wptimecorrection-other')
- a(:restore_default_link, href: /reset/)
+ a(:restore_default_link, id: 'mw-prefs-restoreprefs')
select_list(:size_select, id: 'mw-input-wpimagesize')
select_list(:threshold_select, id: 'mw-input-wpstubthreshold')
select_list(:time_offset_select, id: 'mw-input-wptimecorrection')
class ViewHistoryPage
include PageObject
- a(:view_history_link, href: /action=history/)
- a(:old_version_link, href: /oldid=/)
+ a(:view_history_link, css: '#ca-history a')
+ a(:old_version_link, css: '#pagehistory a.mw-changeslist-date')
end