Profiling in Chrome

Concept of profiling in chrome. In chrome profiling is related to user profile of gmail. If we open chrome we will see our user profile on top right corner. Then if we type chrome://version in our address bar we will get full details of our chrome browser Then when we go to profile path we will see the complete path of our profile

C:\Users\username\AppData\Local\Google\Chrome\User Data\Default

Then in eclipse we fire this command. Note that don’t type default folder in the end. Just type User Data\

ops.addArguments("user-data-dir=C:\\Users\\harsimran\\AppData\\Local\\Google\\Chrome\\User Data\\");// Dont give default folder

By using the above command chrome will open a particular chrome profile using selenium.