enable the javascript

112 views
Skip to first unread message

amit sharma

unread,
Nov 6, 2020, 9:46:20 AM11/6/20
to REST assured

HI Team,

I am getting "Please enable javascript to view the page content" in my GET request page response. Although the same script is working fine in lower env but getting this error when running the same scripts in production using AWS server.

Below is the page response I am getting

</script> <script type="text/javascript" src="/TSPD/087e6cf5a5ab2000bd46a55fbf09d16aac6692838693ae885851ca09b8d5401fb762ece196520f91?type=7"/> Please enable JavaScript to view the page content.

I know how we can enable the javascript on browser but this is the end to end API flow that we have automated using rest assured So not sure how we can enable the javascriot using rest assured lib.

Michael Pinnegar

unread,
Nov 6, 2020, 10:49:24 AM11/6/20
to rest-a...@googlegroups.com
Rest assured knows nothing about evaluating javascript and cannot execute it. if you want/need to execute javascript for a test you need to use a browser.

--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rest-assured/046a5f30-059e-4fe4-98c1-6ede18f08b75n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages