'''
Created on Jul 16, 2013
@author: Maksim Roienko
@company: BinTime
'''
from src.ProductPage import ProductPage


class MainPage(object):
    '''
    Class MainPage describes home page of fututrumshop.nl
    '''
    def __init__(self, driver):
        self.driver = driver

    def search(self, param1):
        self.driver.find_element_by_id("fc_search").send_keys(param1)
        self.driver.find_element_by_id("searchBarButton").click()
        return ProductPage(self.driver)

daa7a2ff7b9c082ce870b9a0665fe1c3a17f1fa1
<mask token>


class MainPage(object):
    <mask token>
    <mask token>

    def search(self, param1):
        self.driver.find_element_by_id('fc_search').send_keys(param1)
        self.driver.find_element_by_id('searchBarButton').click()
        return ProductPage(self.driver)

<mask token>


class MainPage(object):
    <mask token>

    def __init__(self, driver):
        self.driver = driver

    def search(self, param1):
        self.driver.find_element_by_id('fc_search').send_keys(param1)
        self.driver.find_element_by_id('searchBarButton').click()
        return ProductPage(self.driver)

<mask token>


class MainPage(object):
    """
    Class MainPage describes home page of fututrumshop.nl
    """

    def __init__(self, driver):
        self.driver = driver

    def search(self, param1):
        self.driver.find_element_by_id('fc_search').send_keys(param1)
        self.driver.find_element_by_id('searchBarButton').click()
        return ProductPage(self.driver)

<mask token>
from src.ProductPage import ProductPage


class MainPage(object):
    """
    Class MainPage describes home page of fututrumshop.nl
    """

    def __init__(self, driver):
        self.driver = driver

    def search(self, param1):
        self.driver.find_element_by_id('fc_search').send_keys(param1)
        self.driver.find_element_by_id('searchBarButton').click()
        return ProductPage(self.driver)

'''
Created on Jul 16, 2013
@author: Maksim Roienko
@company: BinTime
'''
from src.ProductPage import ProductPage


class MainPage(object):
    '''
    Class MainPage describes home page of fututrumshop.nl
    '''
    def __init__(self, driver):
        self.driver = driver

    def search(self, param1):
        self.driver.find_element_by_id("fc_search").send_keys(param1)
        self.driver.find_element_by_id("searchBarButton").click()
        return ProductPage(self.driver)
