Remove @ from description + try fix BMP characters issue
All checks were successful
Push image to registry / build-image (push) Successful in 4m46s

This commit is contained in:
2025-06-06 16:48:25 +02:00
parent 66c4752203
commit ea2f21f8bf
5 changed files with 139 additions and 3 deletions

View File

@ -286,4 +286,18 @@ abstract class BrowserJob implements ShouldQueue
return null;
}
}
public function typeText(Browser $browser, string $text, string $querySelector): void
{
$browser->script("
let element = document.querySelector('{$querySelector}');
if (element) {
element.focus();
element.value = '{$text}';
element.dispatchEvent(new Event('input', { bubbles: true }));
} else {
console.error('Element not found: {$querySelector}');
}
");
}
}