mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-14 19:44:06 +00:00
18 lines
333 B
Python
18 lines
333 B
Python
from datetime import datetime
|
|
|
|
|
|
class BasePageObject(object):
|
|
|
|
def __init__(self, driver):
|
|
self.driver = driver
|
|
|
|
def get_url(self, url):
|
|
self.driver.get(url)
|
|
|
|
def refresh(self):
|
|
self.driver.refresh()
|
|
|
|
@property
|
|
def time_now(self):
|
|
return datetime.now().strftime('%-m%-d%-H%-M%-S')
|