diff --git a/docs/articles/documentation/test-api/selecting-page-elements/framework-specific-selectors.md b/docs/articles/documentation/test-api/selecting-page-elements/framework-specific-selectors.md index 7ebafc7a948..41c8f459ff1 100644 --- a/docs/articles/documentation/test-api/selecting-page-elements/framework-specific-selectors.md +++ b/docs/articles/documentation/test-api/selecting-page-elements/framework-specific-selectors.md @@ -20,7 +20,7 @@ For this purpose, the TestCafe team and community developed libraries of dedicat The React selectors module provides the `ReactSelector` class that allows you to select DOM elements by the component name. You can get a root element or search through the nested components or elements. In addition, you can obtain the component props and state. ```js -import ReactSelector from 'testcafe-react-selectors'; +import { ReactSelector } from 'testcafe-react-selectors'; const TodoList = ReactSelector('TodoApp TodoList'); const itemsCountStatus = ReactSelector('TodoApp div'); @@ -130,4 +130,4 @@ test('add new item', async t => { }); ``` -To learn about the API, see the [repository documentation](https://github.com/miherlosev/testcafe-aurelia-selectors/blob/master/README.md). \ No newline at end of file +To learn about the API, see the [repository documentation](https://github.com/miherlosev/testcafe-aurelia-selectors/blob/master/README.md).