Write HAR object to file

writeHAR(har, file, force = TRUE, ...)

Arguments

har
A parsed har object output from readHAR
file
A string indicating the file name to write the HAR data to.
force
If the file exists overwrite it. Defaults to TRUE
...
addtional arguments

Examples

## Not run: ------------------------------------ # har1 <- readHAR(system.file(package = "HARtools", # "exdata", "google.com.har")) # harFile <- tempfile(fileext = ".har") # writeHAR(har1, harFile) # har2 <- readHAR(harFile) # identical(har1, har2) ## ---------------------------------------------