In 2022, the Wordle game took over the world by storm. As curious automation engineers, it is our duty to find an automated solution to solve Wordle for us. I took on that responsibility and created a working Wordle-solver using Python and Selenium. As a bonus, I got that solution to run in GitHub Actions.
In this presentation/demonstration, you'll learn how all the pieces come together to make this happen. You'll learn some Python, some Selenium, some pytest, some SeleniumBase, some things about Shadow-DOM, and getting your scripts to run in GitHub Actions.
--------
The “Why?“ Section:
1. Why automate Wordle?
Wordle is a game, and games help up learn. In the case of playing Wordle, we play because it’s fun to solve puzzles. In the case of automating Wordle, that’s an even bigger puzzle to solve because there are more components involved (algorithms, Python, Selenium, Shadow-DOM, etc).
2. Why run the solution in GitHub Actions afterwards?
GitHub Actions is one of many available CI/CD systems. Given that it’s free to use and already part of GitHub, that makes it the most accessible to people looking to try this out for themselves. People could just as easily run their scripts in Jenkins if they already have access to that. The reason why a CI/CD system was included at all in this demonstration is because automating games gives us a fun excuse to learn more about CI/CD in general (Continuous Integration / Continuous Deployment), which is often the final destination of many automated scripts that test engineers write.
3. Why SeleniumBase?
SeleniumBase offers many simplifications and enhancements to the standard Python Selenium bindings. SeleniumBase also also has smart-waiting, reports, dashboards, pytest command-line options for customizing tests, other APIs to simplify Selenium commands, and multiple other enhancements. And best of all, SeleniumBase is free and open source on GitHub, which means it’s accessible to all.
PUBLICATION PERMISSIONS:
Original video was published with the Creative Commons Attribution license (reuse allowed). Link:
1 view
0
0
1 month ago 00:00:55 1
How Strong is Obelix? Asterix’s Mightiest Mystery SOLVED! (Part 4)
4 months ago 00:01:39 14
Opening Credits | Dexter: Original Sin
4 months ago 00:00:46 8
Introducing Majorana 1
5 months ago 00:02:16 1
The End of The Sun - Official Release Date Trailer | A Slavic Mythology Adventure Game
5 months ago 00:40:49 1
STONEHENGE SOLVED! Again. Maybe. Who knows? We ask some questions ...
5 months ago 00:16:14 2
This Fusion Tech is Solving the Geothermal Energy Problem
7 months ago 00:01:39 1
Ayasa: Shadow of Silence - Exclusive Teaser Trailer
7 months ago 00:01:45 1
Europa | Steam & Switch Official Launch Trailer
8 months ago 00:01:13 2
HALLOWEEN — UPDATE Teaser on Grand RP!
8 months ago 00:02:40 43
A Man on the Inside | Official Trailer | Netflix
8 months ago 00:46:43 1
This PINK FREAK broke into MY HOUSE & INSTALLED 999 VIRUSES
8 months ago 00:01:05 2
Horizon Worlds | Meta Quest 2
8 months ago 08:37:35 1
Elon Musk: Neuralink and the Future of Humanity | Lex Fridman Podcast #438
8 months ago 00:01:19 8
Keep Driving - Reveal Trailer
8 months ago 00:03:37 1
Louis Armstrong - What A Wonderful World (Original Spoken Intro Version) ABC Records 1967, 1970
8 months ago 00:05:09 1
Animated Short: Rondo Across Countless Kalpas | Honkai: Star Rail
8 months ago 00:35:35 4
An Undeniably Canon Five Nights at Freddy’s Timeline (Part 3)
8 months ago 00:01:29 1
Sorry We’re Closed - Official Trailer | The Indie Horror Showcase 2024
8 months ago 00:01:29 1
Velma: This Halloween Needs To Be More Special! | Official Trailer | Max
8 months ago 00:01:44 1
Kong: Survivor Instinct - Launch Trailer
8 months ago 00:06:36 1
No Woman No Cry ft. Gilberto Gil & Stephen Marley | Playing For Change | Song Around The World
8 months ago 00:51:50 1
Mind-Blowing Theories on Nothingness You Need to Know | Documentary
8 months ago 00:03:04 35
Once Alive - Official Release Date Gameplay Trailer