

def test_simple_type_on_element(self):
    self.browser.visit(EXAMPLE_APP)
    self.browser.find_by_name('query').type(' with type method')
    value = self.browser.find_by_name('query').value
    self.assertEqual('default value with type method', value)
    self.browser.find_by_name('description').type('type into textarea')
    value = self.browser.find_by_name('description').value
    self.assertEqual('type into textarea', value)

dataset/ETHPy150Open cobrateam/splinter/tests/type.py SlowlyTypeTest.test_simple_type_on_element/original