import unittest
from selenium import webdriver
import time

class Test001(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=r"C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\bin\BrowserDriver\chromedriver.exe")
        self.driver.get("http://automationpractice.com/index.php")

    def test_001(self):
        search = self.driver.find_element_by_xpath('//*[@id="search_query_top"]')
        search.send_keys("camisas")
        Presionar = self.driver.find_element_by_xpath('//*[@id="searchbox"]/button').click()
        time.sleep(5)

    def tearDown(self):
        self.driver.close()

if __name__ == '__main__':
    unittest.main()
554e4de35e14160e1c00058526878cda74a104c1
<mask token>


class Test001(unittest.TestCase):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class Test001(unittest.TestCase):
    <mask token>

    def test_001(self):
        search = self.driver.find_element_by_xpath(
            '//*[@id="search_query_top"]')
        search.send_keys('camisas')
        Presionar = self.driver.find_element_by_xpath(
            '//*[@id="searchbox"]/button').click()
        time.sleep(5)

    def tearDown(self):
        self.driver.close()


<mask token>

<mask token>


class Test001(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=
            'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2019.3.3\\bin\\BrowserDriver\\chromedriver.exe'
            )
        self.driver.get('http://automationpractice.com/index.php')

    def test_001(self):
        search = self.driver.find_element_by_xpath(
            '//*[@id="search_query_top"]')
        search.send_keys('camisas')
        Presionar = self.driver.find_element_by_xpath(
            '//*[@id="searchbox"]/button').click()
        time.sleep(5)

    def tearDown(self):
        self.driver.close()


<mask token>

<mask token>


class Test001(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=
            'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2019.3.3\\bin\\BrowserDriver\\chromedriver.exe'
            )
        self.driver.get('http://automationpractice.com/index.php')

    def test_001(self):
        search = self.driver.find_element_by_xpath(
            '//*[@id="search_query_top"]')
        search.send_keys('camisas')
        Presionar = self.driver.find_element_by_xpath(
            '//*[@id="searchbox"]/button').click()
        time.sleep(5)

    def tearDown(self):
        self.driver.close()


if __name__ == '__main__':
    unittest.main()

import unittest
from selenium import webdriver
import time

class Test001(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=r"C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\bin\BrowserDriver\chromedriver.exe")
        self.driver.get("http://automationpractice.com/index.php")

    def test_001(self):
        search = self.driver.find_element_by_xpath('//*[@id="search_query_top"]')
        search.send_keys("camisas")
        Presionar = self.driver.find_element_by_xpath('//*[@id="searchbox"]/button').click()
        time.sleep(5)

    def tearDown(self):
        self.driver.close()

if __name__ == '__main__':
    unittest.main()