@@ -241,7 +241,7 @@ def input_password(self, locator, password, clear=True):
241
241
logging from Selenium logs is new in SeleniumLibrary 4.2.
242
242
"""
243
243
self .info ("Typing password into text field '%s'." % locator )
244
- self ._input_text_into_text_field (locator , password , clear , True )
244
+ self ._input_text_into_text_field (locator , password , clear , disable_log = True )
245
245
246
246
@keyword
247
247
def input_text (self , locator , text , clear = True ):
@@ -267,7 +267,7 @@ def input_text(self, locator, text, clear=True):
267
267
argument are new in SeleniumLibrary 4.0
268
268
"""
269
269
self .info ("Typing text '%s' into text field '%s'." % (text , locator ))
270
- self ._input_text_into_text_field (locator , text , clear , False )
270
+ self ._input_text_into_text_field (locator , text , clear )
271
271
272
272
@keyword
273
273
def page_should_contain_textfield (self , locator , message = None , loglevel = 'TRACE' ):
@@ -422,7 +422,7 @@ def _get_value_from_radio_buttons(self, elements):
422
422
return element .get_attribute ('value' )
423
423
return None
424
424
425
- def _input_text_into_text_field (self , locator , text , clear , disable_log ):
425
+ def _input_text_into_text_field (self , locator , text , clear = True , disable_log = False ):
426
426
element = self .find_element (locator )
427
427
if is_truthy (clear ):
428
428
element .clear ()
0 commit comments