Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (12 sloc) 555 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
import base_page
class ViewSourcePage(base_page.BasePage):
_page_title = 'View source - 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.