Hi,
I am using selenium webdriver and rspec so when a test case fail a
screenshot is taken. But is there any way to take a screenshot for all
test cases so even when the test case pass?
Thanks in advance!
Mattias
Hi,
I am using selenium webdriver and rspec so when a test case fail a
screenshot is taken. But is there any way to take a screenshot for all
test cases so even when the test case pass?
Thanks in advance!
Mattias
I found the solution! driver.save_screenshot(./screenshot.png)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs