ropensci / RSelenium

An R client for Selenium Remote WebDriver
https://docs.ropensci.org/RSelenium
343 stars 81 forks source link

continue test after failure #168

Closed ghost closed 6 years ago

ghost commented 6 years ago

Is it possible to set up my rselenium tests in such a way that the tests continue to run after a failure? Currently, as soon as a single test fails the entire execution stops. I'd like it to continue to subsequent tests.

tdelc commented 6 years ago

The simplest way : try({ command }, silent=TRUE)

Even if your command fails, your code doesn't stop.