Hello,
This may be a defect but you can do the following as the best workaround.
- Regenerate or record the script using any of the following options:
* Record within the current script step or Do not record under HTML-based script.
* Uncheck "Create concurrent groups for resources after their source HTML page" in URL mode.