mercredi 18 mars 2020

How to type text from a javascript in Selenium?

I'm using Selenium 3.17.0. I want to type a text from a javascript, but it doesn't work!

I have tried this (this types the text "undefined")

and this (this types the entire script as text)

but nothing works! maybe I'm doing wrong the javascript but I don't know, I'm new in all of this, please help!

btw this is my first post, sorry if I'm doing it wrong.

Aucun commentaire:

Enregistrer un commentaire