Class Memory
java.lang.Object
org.openqa.selenium.devtools.v85.memory.Memory
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void>
Simulate OomIntervention by purging V8 memory.static org.openqa.selenium.devtools.Command<SamplingProfile>
Retrieve native memory allocations profile collected since renderer process startup.static org.openqa.selenium.devtools.Command<SamplingProfile>
Retrieve native memory allocations profile collected since browser process startup.static org.openqa.selenium.devtools.Command<Memory.GetDOMCountersResponse>
static org.openqa.selenium.devtools.Command<SamplingProfile>
Retrieve native memory allocations profile collected since last `startSampling` call.static org.openqa.selenium.devtools.Command<Void>
static org.openqa.selenium.devtools.Command<Void>
setPressureNotificationsSuppressed
(Boolean suppressed) Enable/disable suppressing memory pressure notifications in all processes.static org.openqa.selenium.devtools.Command<Void>
Simulate a memory pressure notification in all processes.static org.openqa.selenium.devtools.Command<Void>
startSampling
(Optional<Integer> samplingInterval, Optional<Boolean> suppressRandomness) Start collecting native memory profile.static org.openqa.selenium.devtools.Command<Void>
Stop collecting native memory profile.
-
Constructor Details
-
Memory
public Memory()
-
-
Method Details
-
getDOMCounters
-
prepareForLeakDetection
-
forciblyPurgeJavaScriptMemory
Simulate OomIntervention by purging V8 memory. -
setPressureNotificationsSuppressed
public static org.openqa.selenium.devtools.Command<Void> setPressureNotificationsSuppressed(Boolean suppressed) Enable/disable suppressing memory pressure notifications in all processes. -
simulatePressureNotification
public static org.openqa.selenium.devtools.Command<Void> simulatePressureNotification(PressureLevel level) Simulate a memory pressure notification in all processes. -
startSampling
public static org.openqa.selenium.devtools.Command<Void> startSampling(Optional<Integer> samplingInterval, Optional<Boolean> suppressRandomness) Start collecting native memory profile. -
stopSampling
Stop collecting native memory profile. -
getAllTimeSamplingProfile
Retrieve native memory allocations profile collected since renderer process startup. -
getBrowserSamplingProfile
Retrieve native memory allocations profile collected since browser process startup. -
getSamplingProfile
Retrieve native memory allocations profile collected since last `startSampling` call.
-