code clean
code clean
This commit is contained in:
parent
5c2ab81e16
commit
1847ea5f34
14 changed files with 54 additions and 22 deletions
|
|
@ -50,27 +50,42 @@ __all__ = ['BrowserIncorrectPassword', 'BrowserBanned', 'BrowserUnavailable', 'B
|
|||
class BrowserIncorrectPassword(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class BrowserBanned(BrowserIncorrectPassword):
|
||||
pass
|
||||
|
||||
|
||||
class BrowserUnavailable(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class BrowserRetry(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class ExpectedElementNotFound(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class NoHistory(object):
|
||||
"""
|
||||
We don't want to fill memory with history
|
||||
"""
|
||||
def __init__(self): pass
|
||||
def add(self, request, response): pass
|
||||
def back(self, n, _response): pass
|
||||
def clear(self): pass
|
||||
def close(self): pass
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def add(self, request, response):
|
||||
pass
|
||||
|
||||
def back(self, n, _response):
|
||||
pass
|
||||
|
||||
def clear(self):
|
||||
pass
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
|
||||
class BasePage(object):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue