How to connect to wifi in android emulators for appium testing?

Hi,

I am trying to test the browser apps in android emulators using appium.
I can’t find the option to turn wifi on.

can you please let me know if there is way to access wifi on android emulators?