# Selenium Testing for Firefox Addon

**URL:** <https://discourse.mozilla.org/t/selenium-testing-for-firefox-addon/8531>\
**Category:** Development\
**Created:** [May 6, 2016, 4:24pm UTC](https://discourse.mozilla.org/t/selenium-testing-for-firefox-addon/8531 "2016-05-06T16:24:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irtza\_qc](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@irtza\_qc](https://discourse.mozilla.org/u/irtza_qc)\
**Post date:** [May 6, 2016, 4:24pm UTC](https://discourse.mozilla.org/t/selenium-testing-for-firefox-addon/8531/1 "2016-05-06T16:24:54Z")

</div>

Is there any way to use Selenium to test a Firefox Addon (written with the SDK)? The part thats escaping me is how to interact with the popup. I can get it to appear via resource://gettalent-firefox/data/popup.html but when I try to login, I get an error. Any advice?

---

<div class="post-metadata">

**Author:** ![noitidart](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@noitidart](https://discourse.mozilla.org/u/noitidart)\
**Post date:** [May 7, 2016, 1:05pm UTC](https://discourse.mozilla.org/t/selenium-testing-for-firefox-addon/8531/2 "2016-05-07T13:05:17Z")

</div>

I haven’t ever done it before but there are addons for Firefox that make creating tests pretty simple from what I hear. This is one of those addons:

[https://addons.mozilla.org/en-US/firefox/addon/selenium-builder/](https://addons.mozilla.org/en-US/firefox/addon/selenium-builder/)
