0

How to get data of JavaScript variable in Java Selenium webdriver?

I want to test the json data which I'm getting after calling a REST api via JavaScript. The json data is stored in a JavaScript variable which i want to access via selenium webdriver in Java

10th Jan 2019, 5:26 AM
Kaustubh Damle
Kaustubh Damle - avatar
3 Answers
+ 1
Do you have to use selenium? Testing controller isn't enough?
10th Jan 2019, 7:58 AM
Michal
Michal - avatar
10th Jan 2019, 9:32 AM
Michal
Michal - avatar
0
Michal I've to do that in Selenium only
10th Jan 2019, 9:01 AM
Kaustubh Damle
Kaustubh Damle - avatar