Class Network
java.lang.Object
co.verisoft.fw.selenium.junit.extensions.devtoolsExtension.DevtoolsBase
co.verisoft.fw.selenium.junit.extensions.devtoolsExtension.Network
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createJsonFile
(org.junit.jupiter.api.extension.ExtensionContext extensionContext, Throwable throwable) Creates a JSON file containing network request and response data for each WebDriver instance.Methods inherited from class co.verisoft.fw.selenium.junit.extensions.devtoolsExtension.DevtoolsBase
closeFileWriter, createFileWriter, getExtensionAnnotation, storeNamePerThreadAndSupportMultipleDriverForNetwork
-
Constructor Details
-
Network
public Network()
-
-
Method Details
-
createJsonFile
public void createJsonFile(org.junit.jupiter.api.extension.ExtensionContext extensionContext, Throwable throwable) throws Throwable Creates a JSON file containing network request and response data for each WebDriver instance.- Parameters:
extensionContext
- the extension contextthrowable
- the exception thrown during the test execution (if any)- Throws:
Throwable
- if any error occurs during the creation of the report file
-