import unittest
from selenium import webdriver
from pages import *
from testCases import test_cases
from locators import *
from selenium.webdriver.common.by import By


class TestPages(unittest.testCases):
	
	def setup(self):
		self.driver = webdriver.Chrome()
		self.driver.get('http://amazon.com')

	def page_loaded(self):
		print "\n" + str(test_cases(0))
		page = MainPage(self.driver)
		self.assertTrue(check_page_loaded())
8356d4238c55850f3cdee999112df523ce42d904
import unittest
from selenium import webdriver
from pages import *
from testCases import test_cases
from locators import *
from selenium.webdriver.common.by import By


class TestPages(unittest.testCases):
	
	def setup(self):
		self.driver = webdriver.Chrome()
		self.driver.get('http://amazon.com')

	def page_loaded(self):
		print "\n" + str(test_cases(0))
		page = MainPage(self.driver)
		self.assertTrue(check_page_loaded())