Autoit is a scripting language that helps automate tasks on Windows. Chrome Driver is a library that helps automate tasks on Chrome. In this article, we will see how to use Autoit to automate tasks on Chrome using Chrome Driver.
We will start by installing Autoit and Chrome Driver. Autoit can be installed from here: Chrome Driver can be installed from here:
Once Autoit and Chrome Driver are installed, we will create a simple Autoit script to open Chrome and navigate to a website. The script will look like this:
#include
$driver = new ChromeDriver();
$driver->Navigate(”
sleep(2000);
$driver->Close();
We will save this script as “test.au3”. To run the script, we will open a command prompt and type “autoit test.au3”.
The script will open Chrome and navigate to It will then sleep for 2000 milliseconds and close Chrome.