chore: init

This commit is contained in:
2025-11-04 18:39:56 +01:00
commit e69016e4e3
13 changed files with 1645 additions and 0 deletions

24
examples/hover-effects.js Normal file
View File

@@ -0,0 +1,24 @@
// Hover Effects Example
// Simulates hovering over interactive elements
console.log('👆 Simulating hover effects...');
// Hover over buttons and links
await page.evaluate(() => {
const hoverTargets = document.querySelectorAll('button, a, .card, [class*="hover"]');
hoverTargets.forEach((element, index) => {
if (index < 5) { // Hover first 5 elements
element.dispatchEvent(new MouseEvent('mouseenter', {
view: window,
bubbles: true,
cancelable: true
}));
}
});
});
console.log('✓ Hover effects activated');
// Let effects settle
await new Promise(resolve => setTimeout(resolve, 500));