from selenium.webdriver.firefox.webdriver import WebDriver
from fixture.session import SessionHelper
from fixture.group import GroupHelper
from fixture.contact import ContactHelper

class Application:
	def  __init__(self):
		self.wd = WebDriver()
		self.wd.implicitly_wait(60)
		self.session = SessionHelper(self)
		self.group = GroupHelper(self)
		self.contact = ContactHelper(self)




	def open_hp(self):
		wd = self.wd
		wd.get("http://localhost/addressbook/")


	
	def	destroy(self):
		self.wd.quit()

