Selenium DOM is not changed after execution of Angular ng-if condition Selenium DOM is not changed after execution of Angular ng-if condition selenium selenium

Selenium DOM is not changed after execution of Angular ng-if condition


Please recheck if the following code is really present:

ng-if="new_user && old_email"

Because initially it was:

ng-if="new_user && old_email"

I.e. it looks like Selenium replaces && symbols by

&&

in ng-if and it's the root of the issue: Angular can't parse "non JS" code (or interprets it incorrectly)

P.S. The same is with the following code:

ng-if="existing_user && old_email"

i.e.

&&

is present instead of && in ng-if too.