Get params as json for automated testing

Not sure whether there is a better way of doing this, but one way would be to, once you have navigated to the editor you want to use as test case, “Inspect” the page by right clicking and selecting the option “Inspect”. This will open a DevTools window. In the case of the Chrome browser, navigate to the tab “Network”. If a trigger event occurs (by for example changing a parameter value), a response named “parametrization” is listed. When selecting the response, the parametrization will be available in the “Request Payload” section under the key “arguments”.

Here is a snippet of an example of how it will look like:

You can then copy the dictionary and save it as a json file.

1 Like