sleep 5
firefox -url https://$URL &
xdotool search --sync --onlyvisible --class "Firefox" windowativate key F11

