Use Google Chrome browser. Implement the test using a tool such as Playwright, Selenium, or a similar framework. You may use any programming language you are comfortable with. Use a test runner compatible with your chosen tool or language for execution.
- Navigate to the https://youtube.com.
- Click on the search icon or bar.
- Input "freecodecamp docker".
- Scroll down twice to load more results.
- Click on any video thumbnail from the search results.
- On the video page, wait for the video player and other elements to load completely.
- Print video title and number of views.