Is there a way to disable capybara-webkit from creating a screenshot(click_failed_XXXXXX) when a ClickFailed error occurs? Thanks in advance.
That depends
If you never need it in the current execution environment you could always overwrite it
module Capybara::Webkit
class Driver
def save_screenshot(path, options={})
end
end
end
This should do the trick (haven't tested it)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.