I don't use keyboard, mouse and monitor with my Raspberry Pi. Rather I prefer to ssh into it. I have assigned a static IP to my Raspberry Pi and it automatically connects to my Wifi during boot.

My /etc/network/interfaces file looks like this

source-directory /etc/network/interfaces.d

auto wlan0
auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet static
    address 192.168.1.155
    netmask 255.255.255.0
    gateway 192.168.1.1
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Also you need to set up your Wifi credentials and SSID in /etc/wpa/wpa_supplicant.conf. My configuration file looks like

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="DistroWatch"
    psk="password"
    key_mgmt=WPA-PSK
}

Now your Pi will automatically connect to your Wifi at boot and will be assigned a static IP.