From 7597ae62fcdac2a5dec433d5fe1e9e19eb4d9655 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Tue, 28 Aug 2018 02:13:02 -0400 Subject: [PATCH] Autocomplete text boxes may need more time to finish updating --- seleniumbase/fixtures/base_case.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index e9a25190..ce952ca6 100755 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -560,6 +560,8 @@ class BaseCase(unittest.TestCase): try: if not new_value.endswith('\n'): element.send_keys(new_value) + if settings.WAIT_FOR_RSC_ON_PAGE_LOADS: + self.wait_for_ready_state_complete() else: new_value = new_value[:-1] element.send_keys(new_value)