💡 If you like this website, please share it with your friends and network! 🚀
Back to Playground|
Interactive Sandbox
JavaScript & TypeScript Practice Suite

Automation Scripting Editor

Practice writing core JavaScript & TypeScript syntax used by Playwright, Selenium, and Cypress automation frameworks. Select an exercise to load template code, modify it, and run it live!

Select Challenge Track

Active Instructions

Create a loop that dynamically constructs and prints 5 child CSS locators for table rows: `tr:nth-child(1) td.actions` through `tr:nth-child(5) td.actions`.

Tip: Automation scripts are written sequentially. Feel free to add `console.log()` statements to output parameters, locators, or serialized objects.
script-automation.js
Bash Console / Output Log
sdet@careerraah:~$ node script-automation.js
No output logged yet. Modify code and click "Run Code" above.
Environment: Chrome / V8 Engine