How can I login to https://discord.com/login with the browser console.
I can set the the value on the input fields with these queries.
document.querySelector('input[name="email"]').value = 'test@gmail.com';
document.querySelector('input[name="password"]').value = 'test123';
And click the login button with this query
document.querySelectorAll("button[type='submit']")[0].click();
But then it just clears both field and says that the password is a required field.
Any help is appreciated.
Thanks Anders