import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time

class practicando_unittest (unittest.TestCase):
	def setUp(self):
		self.driver = webdriver.Chrome(executable_path = r"C:\dchrome\chromedriver.exe")

	def test_practica_xpath(self):
		driver = self.driver
		driver.get("https://www.google.com.ar")
		time.sleep(2)
		el_xpath = driver.find_element_by_xpath("/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input")
		el_xpath.send_keys("selenium", Keys.ARROW_DOWN) 
		time.sleep(3)

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

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



		
ea0819e3acc2c69bba63573529b32cf5b766ad46
<mask token>


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

    def test_practica_xpath(self):
        driver = self.driver
        driver.get('https://www.google.com.ar')
        time.sleep(2)
        el_xpath = driver.find_element_by_xpath(
            '/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input'
            )
        el_xpath.send_keys('selenium', Keys.ARROW_DOWN)
        time.sleep(3)

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


<mask token>

<mask token>


class practicando_unittest(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=
            'C:\\dchrome\\chromedriver.exe')

    def test_practica_xpath(self):
        driver = self.driver
        driver.get('https://www.google.com.ar')
        time.sleep(2)
        el_xpath = driver.find_element_by_xpath(
            '/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input'
            )
        el_xpath.send_keys('selenium', Keys.ARROW_DOWN)
        time.sleep(3)

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


<mask token>

<mask token>


class practicando_unittest(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=
            'C:\\dchrome\\chromedriver.exe')

    def test_practica_xpath(self):
        driver = self.driver
        driver.get('https://www.google.com.ar')
        time.sleep(2)
        el_xpath = driver.find_element_by_xpath(
            '/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input'
            )
        el_xpath.send_keys('selenium', Keys.ARROW_DOWN)
        time.sleep(3)

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


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

import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time


class practicando_unittest(unittest.TestCase):

    def setUp(self):
        self.driver = webdriver.Chrome(executable_path=
            'C:\\dchrome\\chromedriver.exe')

    def test_practica_xpath(self):
        driver = self.driver
        driver.get('https://www.google.com.ar')
        time.sleep(2)
        el_xpath = driver.find_element_by_xpath(
            '/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input'
            )
        el_xpath.send_keys('selenium', Keys.ARROW_DOWN)
        time.sleep(3)

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


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

import unittest
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time

class practicando_unittest (unittest.TestCase):
	def setUp(self):
		self.driver = webdriver.Chrome(executable_path = r"C:\dchrome\chromedriver.exe")

	def test_practica_xpath(self):
		driver = self.driver
		driver.get("https://www.google.com.ar")
		time.sleep(2)
		el_xpath = driver.find_element_by_xpath("/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input")
		el_xpath.send_keys("selenium", Keys.ARROW_DOWN) 
		time.sleep(3)

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

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



		