Category: Javascript

Protractor: Detect the type of browser the tests are running against

In my earlier posts here and here, I discussed how to configure protractor for single capabilities and multi-capabilities. In this post I will talk about how to detect the type of browser(s) that the tests are running against (ex. Chrome, Firefox etc.). The reason for doing so, because often times we are facing problems where we want to define certain… Read more →

Configure Protractor to Run on Firefox with Single Capability

I have been developing tests using SerenityJS, which has Protractor running underneath it, to perform UI testing in a BDD fashion. The tests have been developed initially on MacOS with Chrome, as the tests mature, we wanted to extends our tests to run Firefox on MacOS.. Firefox uses the Gecko Driver. After some trial and error as well as extended… Read more →