ЗВ
Size: a a a
ЗВ
V
ЗВ
V
ЗВ
ЗВ
The driver is expecting the path to the file from the same machine it is running on. You appear to be running code on a different machine, so you need something that will upload the file to the machine with the driver. Selenium does this automatically in the sendKeys method, if you are using a Local File Detector, by zipping and sending the file to the remote machine via an upload endpoint, getting the location of the file on the remote machine as a return value, then executing a new element sendKeys command with that path. Unfortunately, the upload endpoint in Selenium 3 was not w3c compliant, so Selenium 4 changed the namespace. Chromedriver implements the old namespace, and does not recognize the new namespace.
Most of us didn't expect people to be connecting directly to a driver on a remote machine without going through a server. You can either upload the file you need to use to the remote machine and remove the local file detector, or connect to the chromedriver via a Selenium 4.0 server on the remote machine, which does recognize the new upload endpoint.
🛠А

А
VM
VM

8G
MR
V
V
А
S
8G
S
8G