Google+

3. Install Chropath Addon for Chrome Browser






Chropath add-on needs to be installed on Chrome browser to automatically generate the locators (will be explained later) for identifying the UI elements on the web page.

Selenium cannot locate the UI elements (Buttons, Checkbox options, Drop-down fields etc.) on the Web Pages by default.

Hence we need to install the Browser extensions like Chropath Add-on for generating the XPath and CSS locators for locating the UI elements on the Web Pages. These locators which are generated by Chropath can be used by Selenium for locating the UI elements on the Web Pages.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Blog Contents 

Please visit www.Selenium-By-Arun.blogspot.com or www.selenium143.blogspot.com for Blog Contents (Open the contents page in a new tab, while you go through the posts in a different tab, to check your ongoing status)

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Installing Chropath Addon on Chrome Browser



In this article, I will explain the step by step process for installing the Chropath on Chrome Browser.

Note: Chropath add-on can also be installed on Firefox Browser, but I recommend using the Chropath add-on on Chrome Browser.

1. Open Chrome browser and Google search for 'Chropath' and click on the displayed link:




2. In the displayed page, click on 'Add to Chrome' option as shown below:



3. Click on 'Add Extension' option on the displayed dialog:



4. Observe that 'Chropath' Add-on got successfully added/installed to Chrome browser as shown below:



Hence we have successfully installed Chropath in Chrome Browser.


Please comment below to feedback or ask questions.

How to use Chropath will be explained in the next post.




25 comments:

man said...

Hi,

Selenium work only with Firefox? If no similar to firebug which needs to be installed for IE and Chrome

Arun Motoori said...

@man - Though we can run Selenium Automation scripts on Firefox, IE, Chrome browsers, Firebug and Firepath addons are available only in Firefox Browser.We use the Firebug and Firepath addons in Firefox browser to identify locators and once the locators are identified in Firefox browser they even work on Chrome and IE browsers too.

man said...

Thank you Arun

Navatha Kannadi said...

Excellent Arun.... Very eloborative and easy to learn for beginners like me!!!!!!

Thanks Alot....

Anonymous said...

Hi Arun,
No doubt you have written a very very nice blog for beginners. I am a new to this and i am stuck in a problem as mentioning below. Please also let me if this is possible or not using the IDE ?

I have one very simple html code for a table, whose backgroud color i want to detect. code for the table is :

table border="1;" bgcolor="00FFFF;" id="table1"

Please help me, i tried many ways but could not catch the color. It would be very heplful if i can get answer as early as possible.
NOT : I am using IDE and i have firebug and firepath installed.

bhrt said...

Hi Arun ,
The Explanation is very good abut the firebug but why it is required for selnium
what is the use
How we can use it in real time...


Many Thanks,
Bharat

Arun Motoori said...

@bhrt - You will get to know that in the upcoming pages :)

Unknown said...

wah....what a efforts....really appreciable....keep this good work Arun....

Arun Motoori said...

Thanks Sujit :)

Unknown said...

Hey ARUN,
Information shared by you is really very helpful even for an experienced person coz so many basic things i didn't know before reading your blog.
.......................Keep it up

Unknown said...

thanks really nice arun

Indu Thota said...

Hello Arun,

Thank you for the details on selenium Automation tool.It is very detailed and easy to understand.
Is it possible to get a download copy of firebug? without downloading the addon from firefox and also without installing via firefox?
Due to user access restrictions at work I am unable to download or install the firebug on my test machine. Any suggestions in this please?

Thanks in advance.
- Indu

Sujitkumar said...

Clear explanation

Sherlin Jones said...

Explained very well. Crystal clear explanation, Thank You

Bharat M said...

Hi Arun,

while downloading Firbug i got below response,please help what should i do in this case....

"The Firebug extension isn't being developed or maintained any longer. We invite you to use the Firefox DevTools instead, which ship with Firebug.next "

Arun Motoori said...

@Bharat M - Please check the solution at my other blog post https://selenium-by-arun.blogspot.in/2018/02/downgrading-firefox-browser-version-to.html

Bharat M said...

thanks Arun For the hellp. but even if i have downgraded the Mozilla still i am getting same error for Firebug extension..can you help me..

"The Firebug extension isn't being developed or maintained any longer. We invite you to use the Firefox DevTools instead, which ship with Firebug.next "

dfdfdfdf said...

HI Arun,

I am very happy to see all your blogs. ITs very helpful to the selenium freshers.
I have installed Firefox version 59.0.1 in my system. I couldn't find compatible firebug add-on to install. Please help me.

dfdfdfdf said...

Hey Arun,

I couldn't find any compatible Fire bug add-on for Firefox 59.0.1 version. Please help in installing Firebug add-on.

Arun Motoori said...

@Bharat M - May be you are not doing in a proper way. So I want you follow each and every step specified in the below article to not face the problem:(I mean don't miss any steps)

https://selenium-by-arun.blogspot.in/2018/02/downgrading-firefox-browser-version-to.html

Unknown said...

Hi Arun,

I have installed 47.0.1 firefox browser. But firepath link your mentioned in above blog is no more helpful as that extension is removed by firefox developers.


Error received on that link:: https://addons.mozilla.org/en-US/firefox/addon/firepath/



Oops! We can’t find that page

If you’ve followed a link from another site for an extension or theme, that item is no longer available. This could be because:

The developer removed it. Developers commonly do this because they no longer support the extension or theme, or have replaced it.
Mozilla removed it. This can happen when issues are found during the review of the extension or theme, or the extension or theme has been abusing the terms and conditions for addons.mozilla.org. The developer has the opportunity to resolve the issues and make the add-on available again.

If you’ve followed a link on this site, you’ve have found a mistake. Help us fix the link by filing an issue. Tell us where you came from and what you were looking for, and we'll get it sorted.

Try visiting the page later, as the theme or extension may become available again. Alternatively, you may be able to find what you’re looking for in one of the available extensions or themes.

Arun Motoori said...

Yes Naveen. Now you have to use the alternative addons like ChroPath in Firefox and Chrome Browsers.

Unknown said...

Hi Arun,
The below link to download FireBug is not working.
https://getfirebug.com/downloads
Pls suggest alternative link for it.

Arun Motoori said...

Yes Firebug is deprecated now. You can use Chropath add on Chrome browser.

Arun Motoori said...

Hi all,

As Firebug is deprecated officially.

We cannot use it in our Firefox Browser.

We have to use Chropath instead of FireBug for this purpose.

I have updated this article with the Chropath installation steps.

Regards,
Arun Motoori