Configure Browser Stats

CukeHub
CukeHub
Jul 30, 2017 · 1 min read

Adding @browser to features/support/env.rb

Are you not seeing browser stats for your App in CukeHub?

You just need to make sure you @browser is set in your cucumber features/support/env.rb Before Hook.

Something like this:

If you are using another instance variable (i.e. @driver) you can simply add:
@browser = @driver

CukeHub does the rest :)

Not a CukeHub User?

Sign Up today!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade