Can I use JavaScript with Selenium?

Can I use JavaScript with Selenium?

While the Selenium framework can be programmed in any language, you can also use JavaScript for most of its functionality.