quickstrom: a[i] in steps for failure printouts ...

This is more of a question than an issue (but perhaps may be an issue).

Would “click a[i]” be equivalent to the following JavaScript?

document.querySelectorAll("a")[i].click();

It doesn’t seem to be lining up that way in my testing. And if it isn’t, then perhaps some better output for steps is called for so that manual reproduction / diagnosis of failures would be possible…

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

Ah, so the following error(s) are likely emanating from the elements being out of viewport?

2021-01-22 00:43:10 ERROR  Error Response: 400 Bad Request
{
    "data": null,
    "error": 400,
    "stacktrace": "#0 0x556098a7eaa9 <unknown>\n",
    "message": "element not interactable\n  (Session info: headless chrome=85.0.4183.83)"
}