What can we use instead of sendKeys in Selenium?

What are some other options other than sendkeys in selenium

We can use the JavaScript Executor to enter text in the text box without using the sendKeys method. The executeScript method in Selenium is used to run JavaScript instructions.

The method takes as an argument the JavaScript command to run. To enter text, use the JavaScript method document.getElementById to locate the input area. The value method must then be applied to it.