For some reason I don't want/can't use the native client from Yandex.Drive. For Linux-a solution exists is quite simple:
sudo apt-get install davfs2
sudo mount-t davfs webdav.yandex.ru
The problem is that MacOs package davfs2 does not exist, at least I couldn't find its equivalent for Macs (or badly searched).
Actually, the question applies not only to Yandex.Disk, but any webdav server.
Please note: need is sync files between a local directory and the server and not just connect to server,
so the type of option
In the Finder, choose Go > Connect To Server, type the address of the server in the Server Address field, and click Connect.
The server address should be in a form similar to this:
not suitable. Also does not fit the "native" client from Yahoo for Mac (it is, of course, is good, but corporate policy forbids me to install it)