@bebef1987 , this is still not right - it will reach the exception if it goes through the first code block. You need to add `elif` on the line 75.

I have debugged why we were reaching the Exception in other scenarios too.
Sometimes on the first query of `form_section_id` the value is `authenticaition_form` and then the second time it is `selectEmail` . but this does not tell me that the statements are the wrong way around - rather that we are not waiting long enough. I will comment where we need the wait.