2019 , Welcome to ME!

Zlatan Ibrahimovic , the truth reason of Zlatan Facts. He has a different life mentality , egoism and passion.He is using his fiery and rebel , on the pitch and also his acts.As you know , sometimes acts of him become the main topic of conversation rather than his football.

One of them is his famous words after rejecting Arsenal’s trial when he was playing on Ajax , “Zlatan doesn’t do auditions”.Examples like that we can see about Zlatan , in the following career of him.Also this arrogant personality of him become his marketing success.When he transferred to Manchester United ,Red Devils announced his joining to team with #ZlatanTime hashtag and they created a banner for him.”Manchester , Welcome to Zlatan”.

Adding Browser Extentions with Selenium WebDriver

When Selenium WebDriver launch a browser , it creates a new profile or options set with browser’s default features.This launched browser does not contain addons or extentions.In everytime we need to add on , which addon or extention we want to use.

Chrome

ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addExtensions( new File( "/path/to/extension.crx" )) ;
driver = new ChromeDriver(chromeOptions);

Firefox

FirefoxProfile profile = new FirefoxProfile() ; 
profile.addExtension( new File( "/path/to/addon.xpi" )) ; 
FirefoxOptions firefoxOptions = new FirefoxOptions() ; 
firefoxOptions.setProfile(profile) ; 
FirefoxDriver driver = new FirefoxDriver(firefoxOptions) ;

What's happening inside of WebDriver's engine bonnet ?

To drive a car , you need to have a licence plate.Nobody wants to mechanical engineering deggree or asks diffucult questions about how engine works ? However , if you want to create admirable test automations , you need to understand what’s happening behind the scene.

Selenium Web Driver briefly working with 3 steps.

  • Using JSON Wire Protocol(also known as Client API) takes our commands and sends them to browser specific drivers(GeckoDriver , ChromeDriver etc.).
  • These commands converting to browser’s native API and sending HTTP request
  • Then driver listens commands results from HTTP server and sends them back to Selenium
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×