const autox = require('autox.js'); autox.launchBrowser(); autox.goto('https://www.google.com'); autox.sendKeys('autox.js', 'input[name="q"]'); autox.click('input[name="btnK"]'); autox.waitForNavigation(); console.log('Google search completed!'); To run your AutoX.js script, simply execute the JavaScript file using Node.js:
npm install autox.js Here’s a simple example of an AutoX.js script that automates a Google search: autox.js