/**
 * Sets content on stencils e2epage instance with default timeout preset to 15s instead of 4,75s
 *
 * @param page - stencils E2EPage
 * @param html - valid html string
 * @param options - wait for options object
 * @returns Promise<void>
 */
const setContent = async (page, html, options) => {
  return page.setContent(html, Object.assign({ timeout: 15000 }, options));
};
export default setContent;
