DjangoTricks
  • Tricks
  • Blog
  • Goodies
  • Social
  • Donate
  • Manage Cookies
Random trick ➔
Ho Ho Ho! Use the code XMAS2025 to get 20% off on any of my apps!

About CSS Selectors in Web Apps

When building a web app with ReactJS, VueJS, or AngularJS – and using TailwindCSS or Bootstrap – make sure to assign unique CSS IDs and classes to all interactive elements. This will make it easier to reference them later in your Playwright or Selenium tests.

Tips and Tricks Development Testing Templates Frontend Django 5.2 Django 4.2 Django 3.2 CSS3 CSS2 Selenium Playwright TailwindCSS

  • image/svg+xml Share
    on X
  • Share
    on Facebook
  • Share
    on LinkedIn

Also by me

Django Messaging 🎅🏼

For Django-based social platforms.

Django App for You
Django Paddle Subscriptions 🎅🏼

For Django-based SaaS projects.

Django App for You
Django GDPR Cookie Consent 🎅🏼

For Django websites that use cookies.

Django App for You
Django 3 Web Development Cookbook - Fourth Edition
Book for You
Django 3 Web Development Cookbook

Learn how to build practical web projects with Django 3.

1st things 1st
SaaS for You
Online prioritizer "1st things 1st"

It's not for everyone, but it might be for you!