Member-only story
What Should A Selenium Interview Coding Test Include?
A few days ago, one of my LinkedIn contacts reached out asking for help with a Selenium interview test.
Out of curiosity, I checked the test requirements.
Go to https://game.tv and scroll to the end of the page.
You will see a grid of game tiles.
Clicking the game-tile would redirect you to the specific game detail page.
On the game detail page you would see the total number of tournaments for that game.
Your task is to prepare a list of all the games available on the home page with following details
⦁ Name of the game
⦁ game detail page URL
⦁ status code for each page URL
⦁ Total number of tournaments for that game
My contact needed help getting the status code of each game page. This is not possible to do with Selenium WebDriver.
After providing the help, I thought that it would be interesting to work on this exercise as if I was the one interviewed.
The solution that I put together makes the content of this post.