Commit fc5ccbfb by solashirai Committed by solashirai

removed unused context_selector

parent d3115f3c
......@@ -11,15 +11,12 @@ class CrowdsourcehinterProblemPage(PageObject):
url = None
def __init__(self, browser, context_selector):
def __init__(self, browser):
"""
Args:
browser (selenium.webdriver): The Selenium-controlled browser that this page is loaded in.
"""
super(CrowdsourcehinterProblemPage, self).__init__(browser)
if isinstance(context_selector, unicode):
context_selector = context_selector.encode('utf-8')
self.context_selector = context_selector
def is_browser_on_page(self):
return len(self.browser.find_elements_by_class_name('crowdsourcehinter_block')) > 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment