Skip to main content

Posts

Showing posts from May, 2024

Compare HTML in Playwright .NET

Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Photo by Miguel Á. Padriñán: https://www.pexels.com/photo/four-letter-tiles-1591061/ Automating checking text (and its HTML) can be a challenge if you aren't comfortable with the language and framework you are using. Having a limited time for learning and exploring is its own challenge. One of my tasks for automating a smoke test for our project was to verify the text in each environment, with each specific set-up having its own welcoming message. And, I admit, I wasn't quite sure where to start. I knew what I needed, and found out where to fetch it. But gett...