On the page WiFi - Arduino Reference
It indicates the following:
Note: this library was retired and is no longer maintained.
If you attempt to use the library, the Wifi.mode() method is not found.
Is there another Wifi Library that should be used for ESP32 processors?
I also do not see a list of deprecated methods listed anywhere.
Are there revision histories listed at some location? I do not see anything on the github site either.
Thanks
When you use ESP32, the WiFi library was already included in the ESP32 core. It will be installed automatically when you install ESP32 Core via Board manager.
You can refer to the following tutorial that using WiFi:
The reference page you linked is the library for the Arduino WiFi Shield, which has not been sold for many years.
As already explained by @IoT_hobbyist, a completely different library (even though it happens to have the same name) is used for the ESP32. The modern Wi-Fi libraries tend to emulate the API of the primordial WiFi library, so you will find that some of the API documentation on that reference page applies to the ESP32 library as well. The "esp32" platform developers also provide a collection of example sketches that demonstrate hos to use the library. You will find these under the File > Examples > WiFi menu in Arduino IDE after you select an ESP32 board from the Tools > Board menu.