[Music] hello all and let's it up safari driver for our automation test as you know it's very common to set up driver first download by downloading driver from the web and then initialize this driver in your test class but for Safari web driver it's a little different first of all we don't need system that property at all because safari driver already installed on your MacBook or Mac by default and second what we need to change our chrome driver our driver installation to Safari so this is what we need Safari web driver if you already have
selenium as you are dependency injection then you will not have any problem initializing your Safari driver and second very important thing we need to allow our safari to run automation script first of all we have to go to developer tool but usually we don't have it in our menu bar so we have to make it available for us so we need to go to Safari and preferences and preferences is very button found show develop menu is maneuver so we check it and as you can see it's pop-up right over there and we click on develop
and allow remote automation it should be checked if you go to develop again you can see that this row is checked all right let's go to our test again and let's try yes it works if you didn't allow your safari to run this test you will get session that created exception and this is easy fix for this just make sure before starting your test you'd allow your remote automation in your Safari great alright thanks for watching