New at Selenium (C#). Wanted to automate some third party page login. When I navigate manually and in chrome F12 > "View Element", I see the text boxes good.
<input type="text" id="username" name="username" >
<input type="password" id="password" name="password" >
However, when I do "View Source" I don't see that. I assume there is Javascript code that generates this login form.
In Selenium - it works on the "View Source" version of course - when I do the following I get - "No Such Element" as expected...
var x = Driver.FindElement(By.Name("username"));
Is it possible for Selenium to interacts with fields that were generated dynamically like in my case? Like tell it to "wait" or dive to the dynamic version of the html or something?