Skip to content
Advertisement

How to send text to the Email field within https://accounts.google.com registration page?

I made proton mail maker script that can go to google sign in and put verification code to proton mail code section.. when I run that, it’s working correctly but it’s not typing google account for signing but he is not typing in the email section I had an error in google account email section

here is my error:

JavaScript

python code

JavaScript

Advertisement

Answer

You have to switch to the new window before interacting with the elements on the new window.

Use the below line of code to switch to the latest window.

JavaScript

Once you are done with the actions on the latest window and want to continue with the actions on the parent window (1st window) then switch back using the below code.

JavaScript

Edit 1:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement