Hi,
With continuous update in Chrome browser we need to update chrome browser regularly. Following steps describes how we can automate the same using AE RPA platform:
Step 1:
Add a WebAPI activity: https://chromedriver.storage.googleapis.com/
In process add argument:
Url1 with default value “/LATEST_RELEASE_”
Url2 with default value “https://chromedriver.storage.googleapis.com/index.html?path=”
Step 2:
Get chrome version in a argument either through power shell activity or via input from user in argument ChromeVersion
Sample Power shell command:
(Get-WmiObject -Class CIM_DataFile -Filter "Name='C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'" | Select-Object Version).Version
Step 3:
Using Assign block
Url1 = Url1 + ChromeVersion
Step 4:
Using Rest API activity make a Get call using Url1
Get output in argument DriverVersion
Step 5:
Using Assign block
Url2 = Url2 + DriverVersion + “/”
Using Url2 User can navigate to this url and download chrome driver using UI automation or make a get api call to get chromedriver_win32.zip