I am writing a selenium script in Java to capture the arguments passed in JavaScript onclick() call/method. Attached is the image in which method/function name is highlighted.
Now, In this method there are some arguments/parameters which i want to capture same as we capture any css_Selector. I am unable to do this. Is there any method or way to do this task? In the Below attached image, i want to capture arguments such as "content_ids", "content_type", "value", "currency" and "content_name". Kindly suggest me solution.