Sha256: 45d03a609ab04cac341b280f1676c55de26c5db05438df0dee4bca8f903bf354
Contents?: true
Size: 352 Bytes
Versions: 18
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true require 'tmpdir' require_relative '../../helpers/allure_helper' Before do browser.window.maximize end After do |scenario| Dir.mktmpdir do |temp_folder| screenshot = browser.screenshot.save("#{temp_folder}/#{scenario.name}.png") AllureHelper.add_screenshot(scenario.name, screenshot) end browser.quit end
Version data entries
18 entries across 18 versions & 1 rubygems