Code & QA

Google Chrome and ChromeDriver with Selenium

Google Chrome and ChromeDriver with Selenium Before going in details about google chrome and ChromeDriver lets learn some terminology. Wire Protocol: defined as RESTful web services using JSON over HTTP that is being used by webdriver/RemoteWebDriver, to communicate with browser. ChromeDriver is a standalone server developed by Chromium team(Google) which implements wire protocol. ChromeDriver consist of three separate pieces, a. Chrome Browser. b. Selenium Project code (driver) AND c.  An Executable that helps code to communicate with chrome browser (lets call it server for ease) server expects you to have chrome installed in the default location of computer. Before start, …

Working with Firefox Profile

Firefox Profile: Firefox profile is a special folder where you actually save all your settings and configurations like bookmarks, your homepage, your extensions which you installed on your Firefox. Your profile folder is kept in a separate folder so in case if anything goes wrong with your FFox you will not lose your data. To check the folder in your computer, type “about:support” in your address bar without double quote or Click on Troubleshooting Information in Help Menu. Firefox will load all information related to the profile. You will find a button in Application Basic table which will take you …

Slide-bar and slide action using Webdriver

Some websites do have slider elements like you can see in some travel websites like given below. this moment is possible using mouse event and concept would be very much similar to the old article on the mouse event. I will take a simple example of working code with dummy data inside so you can pass your input and see this working. Here is a detailed explanation: You need to keep few things in mind: Slider bar size may or may not vary based on browser size. You may need to slide either by the number of pixels or percentage of …