I wanna access input field, for entering username in selenium with headless browser
And this is the code
document.write("<input name='username' type='text' id='username'/>");
How to access and enter the value when the HTML code is written inside JavaScript?