Skip to content

Instantly share code, notes, and snippets.

@nadvolod
Last active June 3, 2023 09:15
Show Gist options
  • Save nadvolod/6b14e772360f925c47cb731a4c84029e to your computer and use it in GitHub Desktop.
Save nadvolod/6b14e772360f925c47cb731a4c84029e to your computer and use it in GitHub Desktop.
Exercises for the quiz
/**
* Go here "https://the-internet.herokuapp.com/dropdown"
* Select option 1 from the dropdown
* Assert that option 1 is selected
* Assert taht option 2 is NOT selected
* */
/*
* Go to "https://the-internet.herokuapp.com/hovers"
* Hover over the first image
* Assert that on hover there is text that is displayed below "name: user1"
* */
/*
* https://the-internet.herokuapp.com/context_menu
* Right click
* close alert
* driver.switchTo().alert().accept();
* */
// go to "https://the-internet.herokuapp.com/key_presses"
// send right arrow key to the input box
// assert that you got this text back "You entered: RIGHT"
// go to https://ultimateqa.com/simple-html-elements-for-automation/
// find element with text "Clickable Icon"
// Assert href attribute = https://ultimateqa.com/link-success/
// Get CSS value: "background-origin"
// Assert that it equals "padding-box"
@rabbanishaik-cpu
Copy link

Thanks for the training, it is really helpful to learn selenium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment