Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (12 sloc) 568 Bytes
#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at
from import By
from base import BasePage
class ViewSourcePage(BasePage):
_page_title = 'View source for Main Page - MozillaWiki'
_source_textarea_locator = (By.ID, 'wpTextbox1')
def source_textarea(self):
return self.selenium.find_element(*self._source_textarea_locator).text
Jump to Line
Something went wrong with that request. Please try again.