I have a question about using selenium in a cucumber.
there are features of a cucumber:
@selenium @javascript
Scenario: Create forum
Given I have a site named "hairclub" and I logged in as admin
When I am on the "admin" page
To start, I use this command:
cucumber features/forum.feature
It works great; it opens a browser (as you can see @selenium @javascript tag). Everything looks good.
I want to run the same cucumber script, but not open the browser; I think that if the script grows, it will take some time to work with the browser. I want the ability to run with an open browser, and without opening a browser. Is there any command that I can pass from the terminal to overwrite @selenium @javascript?
source
share