Does Anyone know if Google, Facebook, Amazon, and other top FAANG companies use automation tags in their web projects? We have literally hundreds of Pages, Buttons, Textboxes, and its very tedious to write the tags across application. We still use Selenium, however wondering what the top companies do now these days?

This article was written 7 years ago.

Is adding IDs to everything standard practice when using Selenium?

  • 2
    What purpose would to know if FAANG companies use this practice serve to your context? Commented Nov 1, 2020 at 20:37
  • What's the actual question ,
    – PDHide
    Commented Nov 1, 2020 at 22:02
  • Having worked for Microsoft I know for a fact that there is no one answer, every product, every part of the product and every sub team might have different strategy and approach.
    – Rsf
    Commented Nov 2, 2020 at 13:38

1 Answer 1


Yes for Facebook

However we don't know what happens in these companies development and testing operations

There is no single answer here because different companies do different things.

It is easy to determine if they have data-tests if by looking at their production source code. I did this for Google, Amazon, Netflix and Facebook. I found that only Facebook had such ID's.

enter image description here

However be aware that you can now strip out data-test id's fairly easily so these companies may have them in development and test environments but not in production

My advice to you is to recognize that as systems grow you need to add development and testing organization and tooling that works at that scale.

For example: In new application I often have 1 single file for page objects for all pages. As the system grewos in complexity I start breaking them out into page specific identifiers. As the system grows more I start introiducting 'global', 'workflow' and 'page' level identifiers.

When you feel you are losing control because of hundred or thousands of things it's a good sign that a new organizational approach is needed in order to continue at scale.

Not the answer you're looking for? Browse other questions tagged or ask your own question.