TypeError at write: The 'fd' argument must be of type number #1906
srp-at-ema
started this conversation in
Development
Replies: 1 comment
-
I found my error. The IDE had imported write from fs... I am not sure if this should have been a discussion maybe an issue. It can be closed or deleted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am blocked by a little problem, and I wonder if you could help me with that.
I have two forms with an and I am sending them both a string '01/01/1970' for the one it works without problem, for the other I am getting the error:
I am confused how comes the string is being passed as file descriptor to fs.write().
The taiko command which works:
await write("01/01/1970", into($("#ema_plannedsubmissiondate_datepicker_description")))
The one(s) that do not work:
There is not much of a difference anywhere I can see. I can definitely manually type the dates in one input or the other and then have no issue.
Let me know if you see what I am doing wrong or how I can investigate further. I can provide more information if needed although the code in the web pages looks quite similar.
Beta Was this translation helpful? Give feedback.
All reactions