> On 22 Dec 2014, at 07:45, vinod kumar <
vk.8...@gmail.com> wrote:
>
> We use parallel-cucumber.js to run our features on saucelabs using wd.js. Can someone suggest how to run cucumber tests on multiple browsers on saucelabs using wd.js?
Hi Vinod. parallel-cucumber supports a concept of profiles. Examples of profiles could be: desktop, tablet, phone. For each profile you can specify a) cucumber tags and b) environment variables. The tags can be used to alter the scenarios that are executed for each profile (e.g. through tags called @desktop-browser-only, @mobile-browser-only and @browser for scenarios that support all profiles). The environment variables can be used to tell your "before" hook what type of browser it should start (e.g. desktop, tablet or mobile).
Would something like that fit your problem or are you after something different?
Cheers
Simon