diff --git a/README.md b/README.md index f8708bd..06f03a8 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Add `bySelector` and `byAttribute` to [@testing-library/dom](https://github.com/ ## Why? The [@testing-library/dom](https://github.com/testing-library/dom-testing-library) manager believes that using `querySelector` API as the escape hatch in the test code is a bad practice. + But for some special purpose: when automating in browser extensions, it will be extremely difficult without a `css selector`. See: [PR (267)](https://github.com/testing-library/dom-testing-library/pull/267) [issues (512)](https://github.com/testing-library/dom-testing-library/issues/512)