var breeze_prefetch = {"local_url":"https://playwrightmasters.in","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://playwrightmasters.in/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://playwrightmasters.in/wp-includes/js/jquery/jquery.min.js
https://playwrightmasters.in/wp-includes/js/jquery/jquery-migrate.min.js
(function(){if(typeof breeze_scripts_queue==='undefined'||!window.jQuery)return;var $=jQuery,orig=$.fn.ready,pending=[],done=false,ready=false,acted=false,held=null,t0=Date.now(),ev=['touchstart','mousedown','mousemove','keydown','wheel','scroll'];$.fn.ready=function(fn){if(done)return orig.call(this,fn);pending.push(fn);return this;};function flush(){if(done)return;done=true;ev.forEach(function(e){window.removeEventListener(e,act,true);});$.fn.ready=orig;var d=$(document);pending.forEach(function(fn){orig.call(d,fn);});orig.call(d,function(){setTimeout(function(){ready=true;if(held){var t=held;held=null;t.dispatchEvent(new MouseEvent('click',{bubbles:true,cancelable:true,view:window}));}},0);});}function act(){acted=true;if(breeze_scripts_queue.isEmpty())flush();}ev.forEach(function(e){window.addEventListener(e,act,{capture:true,passive:true});});document.addEventListener('click',function(e){if(ready||!e.isTrusted)return;held=e.target;e.preventDefault();e.stopImmediatePropagation();act();},true);var iv=setInterval(function(){var empty=breeze_scripts_queue.isEmpty();if(empty&&acted||Date.now()-t0>20000){clearInterval(iv);flush();}},50);})();
//# sourceURL=jquery-migrate-js-after
!function($){"use strict";$(document).ready(function(){$(this).scrollTop()>100&&$(".hfe-scroll-to-top-wrap").removeClass("hfe-scroll-to-top-hide"),$(window).scroll(function(){$(this).scrollTop()<100?$(".hfe-scroll-to-top-wrap").fadeOut(300):$(".hfe-scroll-to-top-wrap").fadeIn(300)}),$(".hfe-scroll-to-top-wrap").on("click",function(){$("html, body").animate({scrollTop:0},300);return!1})})}(jQuery);
!function($){'use strict';$(document).ready(function(){var bar=$('.hfe-reading-progress-bar');if(!bar.length)return;$(window).on('scroll',function(){var s=$(window).scrollTop(),d=$(document).height()-$(window).height(),p=d? s/d*100:0;bar.css('width',p+'%')});});}(jQuery);
//# sourceURL=jquery-js-after
(() => {
if (location.pathname.replace(/\/$/, '') !== '/playwright-learning-tutorials') return;
const anchors = {"videos":"ef9779a","tutorial-7_VlyZOXlsI":"ba4052b","tutorial-uUXqIU9qWdk":"68cd2ee","tutorial-G3SuFliD0ow":"612a025","tutorial-nmeUKE5akXQ":"8a030d6","playwright-topic-0":"98e8ab0","playwright-topic-1":"2d427dd","playwright-topic-2":"7838f68","playwright-topic-3":"2beffbf","playwright-topic-4":"45c8b27"};
function setup() {
for (const [anchor, widgetId] of Object.entries(anchors)) {
const widget = document.querySelector('.elementor-widget-heading[data-id="' + widgetId + '"]');
if (!widget || document.getElementById(anchor)) continue;
const target = anchor.startsWith('tutorial-') ? widget.closest('.e-con') : widget;
if (target && !target.id) {
target.id = anchor;
target.style.scrollMarginTop = '100px';
}
}
if (location.hash) document.getElementById(location.hash.slice(1))?.scrollIntoView();
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', setup, { once: true });
else setup();
})();
(() => {
if (!/^\/playwright-learning-tutorials\/?$/.test(location.pathname)) return;
function arrangeIntro() {
const hero = document.querySelector('.elementor-element-b3ad52a');
const grid = hero?.querySelector(':scope > .e-con-inner') || hero;
const headline = grid?.querySelector('h1');
if (!headline || grid.classList.contains('pm-tutorial-intro-grid')) return;
const parts = ['83f1c46','79a5e9d','2ee9751','d5c397a','f245b6e'].map(id => grid.querySelector(':scope > [data-id="' + id + '"]'));
if (parts.some(part => !part)) return;
const [title, description, actions, pathTitle, lessons] = parts;
const main = document.createElement('div');
main.className = 'pm-tutorial-intro-main';
const kicker = document.createElement('p');
kicker.className = 'pm-tutorial-intro-kicker';
kicker.textContent = 'Playwright Masters · Hyderabad';
const line = document.createElement('span');
line.textContent = 'Learning Tutorials';
headline.replaceChildren('Playwright ', line);
actions.querySelector('[data-id="32bd375"]')?.remove();
actions.querySelector('[data-id="9ba99af"] .elementor-button-text').textContent = 'Playwright Roadmap';
main.append(kicker, title, description, actions);
const path = document.createElement('aside');
path.className = 'pm-tutorial-intro-path';
const heading = pathTitle.querySelector('h2');
heading.id = 'pm-tutorial-start-title';
path.setAttribute('aria-labelledby', heading.id);
path.append(pathTitle, lessons);
grid.classList.add('pm-tutorial-intro-grid');
grid.append(main, path);
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', arrangeIntro, {once:true});
else arrangeIntro();
})();
(() => {
if (!/^\/playwright-learning-tutorials\/?$/.test(location.pathname)) return;
function arrangeFinalSection() {
const section = document.querySelector('.elementor-element-61889ed');
if (!section || section.classList.contains('pm-tutorial-final')) return;
const description = section.querySelector('[data-id="1558d20"] p');
const course = section.querySelector('[data-id="e6817d0"] .elementor-button-text');
const tutorial = section.querySelector('[data-id="91e8684"] .elementor-button-text');
const youtube = section.querySelector('[data-id="2e2afb2"]');
if (!description || !course || !tutorial || !youtube) return;
section.classList.add('pm-tutorial-final');
description.textContent = 'Explore Playwright Masters’ classroom training in Hyderabad and live online training.';
course.textContent = 'View the Playwright course ↗';
tutorial.textContent = 'Read the full tutorial ↗';
youtube.querySelector('.elementor-button-text').textContent = 'See all Shorts on YouTube ↗';
const row = document.createElement('div');
row.className = 'pm-tutorial-end';
const brand = document.createElement('strong');
brand.textContent = 'Playwright Masters · Hyderabad';
row.append(brand, youtube);
section.after(row);
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', arrangeFinalSection, {once:true});
else arrangeFinalSection();
})();
(() => {
if (!/^\/playwright-learning-tutorials\/?$/.test(location.pathname)) return;
const links = [["Join Free Demo Class","#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjY0OSIsInRvZ2dsZSI6ZmFsc2V9",""],["WhatsApp For More Details","https://wa.me/919063249990?text=Hi%2C%20I%20just%20visited%20Playwright%20Masters%20website%2C%20have%20something%20to%20discuss%2C%20Are%20you%20available%20%3F","_blank"]];
function addContactButtons() {
const intro = document.querySelector('.pm-tutorial-intro-main');
const startPanel = document.querySelector('.pm-tutorial-intro-path');
const demo = links.find(([label]) => label === 'Join Free Demo Class');
if (startPanel && demo && !startPanel.querySelector('.pm-tutorial-demo')) {
const button = document.createElement('a');
button.className = 'pm-tutorial-demo';
button.textContent = 'Book Free Demo Class';
button.setAttribute('href', demo[1]);
const note = document.createElement('p');
note.className = 'pm-tutorial-demo-note';
note.textContent = '✅ No spam. Free consultation included. By submitting, you agree that Playwright Masters may call, WhatsApp or email you about this course. Read our ';
const policy = document.createElement('a');
policy.href = '/privacy-policy/';
policy.textContent = 'Privacy Policy';
note.append(policy, '.');
startPanel.append(button, note);
}
const sections = ['playwright-topic-0','playwright-topic-1','playwright-topic-2','playwright-topic-3','playwright-topic-4'].map(id => document.getElementById(id)?.closest('.e-con'));
for (const container of [intro,...sections]) {
if (!container || container.querySelector(':scope > .pm-tutorial-contact')) continue;
const row = document.createElement('div');
row.className = container === intro ? 'pm-tutorial-contact' : 'pm-tutorial-contact pm-tutorial-section-contact';
for (const [label,href,target] of links) {
const link = document.createElement('a');
link.textContent = label;
link.setAttribute('href', href);
if (target) { link.target = target; link.rel = 'noopener noreferrer'; }
row.append(link);
}
container.append(row);
}
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded',addContactButtons,{once:true});
else addContactButtons();
})();
(() => {
if (!/^\/playwright-learning-tutorials\/?$/.test(location.pathname)) return;
const coverIds = ["7_VlyZOXlsI","uUXqIU9qWdk","G3SuFliD0ow","nmeUKE5akXQ","pVe8cChnOCU","xFwOCcBMiYM","AzYULQVQgA4","badjp0llRXg","RLSgQR6RbIQ","8C9dV-q7nY4","8D2t9V3878o","WWQk7SrdJ5Y","eFIqMEUKTg0","S2TU4oguGWI","6--PfaHSFHM","mQrr3FJT9lU","sG8Nfexk-Js","AMyZyKf9204","00088jrqdZk","5CCSifAMaL8","yI3guv6fwoQ","hCgNTyHxzZg","sDDfp-mej-Y","wRKRpdgdF-I","WpLW73qvDaI","LO8K2pGa-Pk","oTbXzXSZATw"];
function applyCards() {
for (const widget of document.querySelectorAll('.elementor-3946 .elementor-widget-video[data-settings]')) {
const settings = JSON.parse(widget.getAttribute('data-settings'));
const id = new URL(settings.youtube_url).searchParams.get('v');
const index = coverIds.indexOf(id);
const card = widget.parentElement;
const grid = card.parentElement;
const overlay = widget.querySelector('.elementor-custom-embed-image-overlay');
const heading = card.querySelector('.elementor-widget-heading');
const topic = grid.parentElement.querySelector('h3')?.textContent.trim();
if (index < 0 || !overlay || !heading || !topic || card.classList.contains('pm-preview-card')) continue;
const cover = document.createElement('img');
cover.className = 'pm-preview-cover';
cover.src = '/wp-content/uploads/2026/11/pm-tutorial-cover-' + String(index + 1).padStart(2,'0') + '.webp';
cover.alt = 'Playwright Learning Tutorials – ' + heading.textContent.trim();
cover.width = 800;
cover.height = 500;
cover.loading = 'lazy';
cover.decoding = 'async';
overlay.prepend(cover);
overlay.querySelector('.elementor-custom-embed-play')?.setAttribute('aria-label', 'Play ' + heading.textContent.trim());
const body = document.createElement('div');
body.className = 'pm-preview-card-body';
const tag = document.createElement('span');
tag.className = 'pm-preview-card-tag';
tag.textContent = topic;
const links = [...card.querySelectorAll('.elementor-widget-text-editor')];
const primary = links[0]?.querySelector('a');
if (primary) {
primary.classList.add('pm-preview-card-link');
primary.textContent = primary.hostname === location.hostname ? 'Read related guide ↗' : 'Watch on YouTube ↗';
}
body.append(tag, heading);
if (primary) body.append(primary);
for (const linkWidget of links) linkWidget.hidden = true;
grid.classList.add('pm-preview-grid');
card.classList.add('pm-preview-card');
card.append(body);
}
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded',applyCards,{once:true});
else applyCards();
})();
(() => {
function mount() {
const toc = document.getElementById('pm-home-toc');
if (!toc || document.getElementById('pm-sticky-sections') || window.self !== window.top) return;
const section = toc.closest('.elementor-element-6a8e3053');
if (!section) return;
const nav = document.createElement('nav');
nav.id = 'pm-sticky-sections';
nav.setAttribute('aria-label', 'Course sections');
const row = document.createElement('div');
row.className = 'pm-section-links';
for (const source of toc.querySelectorAll('a[href^="#"]')) {
const href = source.getAttribute('href');
if (!document.getElementById(href.slice(1))) continue;
const link = document.createElement('a');
link.href = href;
link.textContent = (source.querySelector('.pm-toc-label') ?? source).textContent.trim();
row.append(link);
}
if (!row.children.length) return;
nav.append(row);
section.replaceWith(nav);const links = [...row.querySelectorAll('a')];
const sections = links.map(link => ({ link, target: document.getElementById(link.hash.slice(1)) }));
let active = null;
let pending = false;function updateActive() {
pending = false;
const boundary = nav.getBoundingClientRect().bottom + 90;
let current = null;
let closest = -Infinity;
for (const {link, target} of sections) {
const top = target.getBoundingClientRect().top;
if (top <= boundary && top >= closest) {
current = link;
closest = top;
}
}
if (current === active) return;
active?.removeAttribute('aria-current');
active = current;
if (!active) return;
active.setAttribute('aria-current', 'location');
const item = active.getBoundingClientRect();
const strip = row.getBoundingClientRect();
if (item.left < strip.left) row.scrollLeft += item.left - strip.left - 14;
if (item.right > strip.right) row.scrollLeft += item.right - strip.right + 14;
}function scheduleUpdate() {
if (pending) return;
pending = true;
requestAnimationFrame(updateActive);
}window.addEventListener('scroll', scheduleUpdate, {passive: true});
window.addEventListener('resize', scheduleUpdate);
window.addEventListener('load', scheduleUpdate, {once: true});
updateActive();
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', mount, {once:true});
else mount();
})();
(() => {
if (location.pathname !== '/' || window.self !== window.top) return;function setup() {
const original = document.querySelector('.elementor-element-4821134c a.elementor-button');
const intro = document.getElementById('pm-course-guide-intro');
if (!original || !window.jQuery) return;const popupLink = original.getAttribute('href');
const formSelector = '#elementor-popup-modal-649 form.elementor-form';
let brochureRequested = false;
let originalSubmitLabel;const originalLabel = original.querySelector('.elementor-button-text');
if (originalLabel) originalLabel.textContent = '📥 Download Complete Course Guide';
original.querySelector('.elementor-button-icon')?.style.setProperty('display', 'none', 'important');
original.style.setProperty('background', '#fff300', 'important');
original.style.setProperty('color', '#000', 'important');
originalLabel?.style.setProperty('color', '#000', 'important');document.addEventListener('click', (event) => {
const link = event.target.closest('a');
if (link?.getAttribute('href') === popupLink) {
brochureRequested = link === original || link === intro;
}
}, true);const events = window.jQuery(document);
events.on('elementor/popup/show', (_event, id) => {
if (String(id) !== '649') return;
const label = document.querySelector(formSelector + ' button[type="submit"] .elementor-button-text');
if (label) {
originalSubmitLabel ??= label.textContent;
label.textContent = brochureRequested ? 'Click here to get brochure' : originalSubmitLabel;
}
document.querySelector('[data-course-guide-download]')?.remove();
});
events.on('elementor/popup/hide', (_event, id) => {
if (String(id) === '649') brochureRequested = false;
});
events.on('submit_success', formSelector, function () {
if (!brochureRequested) return;
brochureRequested = false;
const download = document.createElement('a');
download.href = '/wp-content/uploads/2026/11/playwrightmasters-in-.pdf';
download.download = 'Playwright-Masters-Course-Guide.pdf';
download.textContent = 'Download the PDF again';
download.style.display = 'inline-block';
download.style.marginTop = '0.75rem';
this.parentElement.querySelector('[data-course-guide-download]')?.remove();
download.setAttribute('data-course-guide-download', '');
this.after(download);
download.click();
});
}if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', setup, { once: true });
} else {
setup();
}
})();
(function(){function c(){if(document.body.classList.contains('single-post'))return;document.querySelectorAll('#ez-toc-container nav>ul.ez-toc-list-level-1').forEach(function(u){u.classList.add('eztoc-toggle-hide-by-default');});}if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',c);}else{c();}})();
Skip to content const registerAllyAction = () => {
if ( ! window?.ElementorProFrontendConfig || ! window?.elementorFrontend?.utils?.urlActions ) {
return;
}elementorFrontend.utils.urlActions.addAction( 'allyWidget:open', () => {
if (window?.ea11yWidget?.widget?.open) {
return window.ea11yWidget.widget.isOpen()
? window.ea11yWidget.widget.close()
: window.ea11yWidget.widget.open();
}
} );
};const waitingLimit = 30;
let retryCounter = 0;const waitForElementorPro = () => {
return new Promise( ( resolve ) => {
const intervalId = setInterval( () => {
if ( retryCounter === waitingLimit ) {
resolve( null );
}retryCounter++;if ( window.elementorFrontend && window?.elementorFrontend?.utils?.urlActions ) {
clearInterval( intervalId );
resolve( window.elementorFrontend );
}
}, 100 ); // Check every 100 milliseconds for availability of elementorFrontend
});
};waitForElementorPro().then( () => { registerAllyAction(); });
var astra = {"break_point":"921","isRtl":"","is_scroll_to_id":"1","is_scroll_to_top":"1","is_header_footer_builder_active":"1","responsive_cart_click":"flyout","is_dark_palette":""};
//# sourceURL=astra-theme-js-js-extra
https://playwrightmasters.in/wp-content/themes/astra/assets/js/minified/frontend.min.js
https://playwrightmasters.in/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js
https://playwrightmasters.in/wp-content/plugins/elementor/assets/js/frontend-modules.min.js
jQuery.uiBackCompat = true;
//# sourceURL=jquery-ui-core-js-before
https://playwrightmasters.in/wp-includes/js/jquery/ui/core.min.js
var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Share on Facebook","shareOnX":"Share on X","pinIt":"Pin it","download":"Download","downloadImage":"Download image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Play Video","previous":"Previous","next":"Next","close":"Close","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}},"hasCustomBreakpoints":false},"version":"4.4.2","is_static":false,"experimentalFeatures":{"e_font_icon_svg":true,"additional_custom_breakpoints":true,"container":true,"e_optimized_markup":true,"theme_builder_v2":true,"e_mcp_revision_snapshots":true,"nested-elements":true,"e_atomic_elements":true,"e_opt_in_v4":true,"import-export-customization":true,"e_pro_atomic_form":true,"e_pro_collection_loop":true,"mega-menu":true},"urls":{"assets":"https:\/\/playwrightmasters.in\/wp-content\/plugins\/elementor\/assets\/","ajaxurl":"https:\/\/playwrightmasters.in\/wp-admin\/admin-ajax.php","uploadUrl":"https:\/\/playwrightmasters.in\/wp-content\/uploads"},"nonces":{"floatingButtonsClickTracking":"1433539e2c","atomicFormsSendForm":"273c037bf6"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"global_image_lightbox":"yes","lightbox_enable_counter":"yes","lightbox_enable_fullscreen":"yes","lightbox_enable_zoom":"yes","lightbox_enable_share":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":366,"title":"Blogs","excerpt":"","featuredImage":false}};
//# sourceURL=elementor-frontend-js-before
https://playwrightmasters.in/wp-content/plugins/elementor/assets/js/frontend.min.js
https://playwrightmasters.in/wp-content/plugins/header-footer-elementor/inc/js/frontend.js
https://playwrightmasters.in/wp-includes/js/dist/hooks.min.js
https://playwrightmasters.in/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
var ElementorProFrontendConfig = {"ajaxurl":"https:\/\/playwrightmasters.in\/wp-admin\/admin-ajax.php","nonce":"12df0d4f38","urls":{"assets":"https:\/\/playwrightmasters.in\/wp-content\/plugins\/elementor-pro\/assets\/","rest":"https:\/\/playwrightmasters.in\/wp-json\/"},"settings":{"lazy_load_background_images":true},"popup":{"hasPopUps":true},"shareButtonsNetworks":{"facebook":{"title":"Facebook","has_counter":true},"twitter":{"title":"Twitter"},"linkedin":{"title":"LinkedIn","has_counter":true},"pinterest":{"title":"Pinterest","has_counter":true},"reddit":{"title":"Reddit","has_counter":true},"vk":{"title":"VK","has_counter":true},"odnoklassniki":{"title":"OK","has_counter":true},"tumblr":{"title":"Tumblr"},"digg":{"title":"Digg"},"skype":{"title":"Skype"},"stumbleupon":{"title":"StumbleUpon","has_counter":true},"mix":{"title":"Mix"},"telegram":{"title":"Telegram"},"pocket":{"title":"Pocket","has_counter":true},"xing":{"title":"XING","has_counter":true},"whatsapp":{"title":"WhatsApp"},"email":{"title":"Email"},"print":{"title":"Print"},"x-twitter":{"title":"X"},"threads":{"title":"Threads"}},"facebook_sdk":{"lang":"en_US","app_id":""},"lottie":{"defaultAnimationUrl":"https:\/\/playwrightmasters.in\/wp-content\/plugins\/elementor-pro\/modules\/lottie\/assets\/animations\/default.json"}};
//# sourceURL=elementor-pro-frontend-js-before
https://playwrightmasters.in/wp-content/plugins/elementor-pro/assets/js/frontend.min.js
https://playwrightmasters.in/wp-content/plugins/elementor-pro/assets/js/elements-handlers.min.js
/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);