您可以在更简单的只是使用
然后使用标记@Browser:IE编写功能
@Browser:IE@Browser:FirefoxScenario: Add comments Given I navigated to /guinea-pig And I have entered 'This is not a comment' into the commentbox When I press 'submit' Then my comment 'This is not a comment' is displayed on the screen
目前,这是我发现的最佳解决方案,因为它还可以在所有浏览器中进行测试,而无需在所有特定浏览器中进行测试



