- Generate OneShot js code geenrator - Introduced a new C4A-Script tutorial example for login flow using Blockly. - Updated index.html to include Blockly theme and event editor modal for script editing. - Created a test HTML file for testing Blockly integration. - Added comprehensive C4A-Script API reference documentation covering commands, syntax, and examples. - Developed core documentation for C4A-Script, detailing its features, commands, and real-world examples. - Updated mkdocs.yml to include new C4A-Script documentation in navigation.
7 lines
316 B
Plaintext
7 lines
316 B
Plaintext
GO https://responsive.site.com
|
|
WAIT 2
|
|
IF (`window.innerWidth < 768`) THEN CLICK `.mobile-menu`
|
|
IF (`window.innerWidth < 768`) THEN WAIT `.mobile-nav` 3
|
|
IF (`window.innerWidth >= 768`) THEN CLICK `.desktop-menu li:nth-child(2)`
|
|
REPEAT (CLICK `.next-slide`, 5)
|
|
IF (EXISTS `.cookie-banner`) THEN CLICK `.accept-cookies` |