Textarea youtube does not recognize injected values, just pressed!

Asked

Viewed 28 times

0

Good afternoon, I’m creating an automation stop for youtube, where you create the button and when you click already adds all information in the video, information that is always the same (Automates the pattern)

Well, in the textarea youtube makes available for title, description and etc, the youtube system only recognizes that something was inserted when I make a change by pressing some key, just so the button SAVE appears to save the changes.

I’m using these two methods and both results in the same, enough to add in the field, but if I do not type something youtube does not recognize that the textarea has been filled.

$( "textarea[placeholder*='Adicione um título']" ).val('Titulo do Vídeo JS');

$( "textarea[placeholder*='Adicione um título']" ).insertAtCaret("Titulo do Vídeo JS");

I even tried to use a function that simulated pressing the key that I found on google but did not work.

.triggerKeyPress([80, 78])

Does anyone have any suggestions of what I can do in the code so that the change in the textarea from the youtube page?

  • Tried to simulate a tab? Type, after filling in an input does Focus on another qq input and then focuses on the btn to save to see if it enables

  • Only the Focus with more later changes did not make youtube recognize as change not unfortunately

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.