Automation using Python and JavaScript