Unanswered question

How can i execute document.createElement and document.body.apprendClid on JS Library?

I have JS Function and i want to execute it in library JS of Neoload, the issue is that the function contains "document.createElement("form")" and "document.body.apprendClid(variable)".
How can i execute it?

manal C.
manal C.

manal C.

Level
0
45 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You cannot access browser objects so you have to understand what the function is doing and replace this calls in your JS so they do not depend on browser objects.