Skip to main content

About this free course

Download this course

Share this free course

Uopilot Script Commands Updated -

// Navigate to the login page goto https://www.example.com/login

// Enter username and password type #username-input "johnDoe" type #password-input "password123" uopilot script commands updated

// Click the login button click #login-button // Navigate to the login page goto https://www

// Log a success message log "Logged in successfully!" This script navigates to the login page, enters the username and password, clicks the login button, asserts that the welcome message is displayed, and logs a success message. enters the username and password

// Assert that the welcome message is displayed assert-text #welcome-message "Welcome, johnDoe!"