--- title: "FAQs about JS Steps in Autify: Comprehensive Guide | Autify" slug: "frequently-asked-questions-about-js-step" description: "Get Answers to Common Questions about JS Steps for Effective Automation Testing in Autify. Begin Your 14-Day Trial Now!" updated: 2023-03-13T08:22:54Z published: 2023-03-13T08:22:54Z canonical: "help.autify.com/frequently-asked-questions-about-js-step" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # Frequently Asked Questions about JS Steps ### I can't select the element that I want to perform an action on. What should I do? In some cases, you can't use the selector you got from Developer Tools as is, for example, if an element contains dynamic data. If you want to perform an action on a particular element but are having trouble selecting it in a JS Step, please refer to the following articles: - [How to fix CSS selector errors](/v1/docs/how-to-fix-css-selector-errors) - [How to grab an element with dynamic data](/v1/docs/how-to-grab-an-element-with-dynamic-data) ### What is the timeout period of a JS Step? The timeout period of a JS Step is 120 seconds. If you need to execute a process that takes longer than 120 seconds, please split the step into multiple steps or insert a sleep step. ### Are there any differences between recorded actions and JS Step actions? Yes, there are some differences between recorded actions and JS Step actions. The difference is due to how actions are performed. Take a click, for example. When recording, a click action is actually performed. On the other hand, in a JS Step, the element is clicked using the HTMLElement.click() method. Because some events are not dispatched in HTMLElement.click(), events caused by the click may not be triggered. As a result, the behavior may be different than when the element is actually clicked. If you create a JS Step but it doesn't perform the intended behavior, it may mean that events that are set up separately need to be fired. Please contact our support team.