Skip to content

Commit 73f115b

Browse files
authored
Added faq section
1 parent 331eedc commit 73f115b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/selenium-side-runner/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,14 @@ Running tests faster through the use of multiple workers
4949
The runner will automatically set the number of workers to the amount of cores available, for most cases this is the best result.
5050
**Note:** unless you specified that a suite is parallel, it will still run the contained tests sequentially, though the runner will run suites in parallel by default.
5151
To mark a suite's tests as parallel, set that in the suite's settings in the IDE.
52+
53+
### FAQ
54+
55+
#### I'm getting an error similar to `Unknown locator ${vars.something}`
56+
When running your projects make sure that the command is aware of the locator strategy **before** variables are evaluated.
57+
For example `click | id=${myButton}` vs `click | ${idOfMyButton}`.
58+
Always use the first one, since the strategy is hardcoded in the command, the second would yield an error.
59+
60+
>But it works in the IDE.
61+
62+
That is because the IDE calculates locator strategies differently than the runner, it is a known current issue.

0 commit comments

Comments
 (0)