Often times, Selenium/Protactor action(s) will work on one browser but not on another browser. As in my case, the Scroll action and DoubleClick action are both accepted by Chrome, however not by Firefox Gecko driver. Some research find it to be a known issue with Firefox Gecko Driver not implementing the moveTo() action in selenium WebDriver. If run with the… Read more →
Month: September 2018
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 Multiple Capability
In my earlier post, I talked about how to configure protractor to run on Firefox with single capabilities. however what if one needs to run on multiple browsers (whether if it is sequentiallly or parallely). That will be the topic of this post. So follow the conventions from the earlier post, we will use a separate file that contains the… 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 →