+ Click for details.
+
+
+ It is possible to enable or disable video recording while the test is running regardless of what is setup when the session starts.
+ This is done by sending a cookie with the name zaleniumVideo
with a value of true
(to enable recording)
+ or false (to disable recording). Disabling recording while it is originally enable will result in a new video file. This can be useful
+ when you have multiple tests in one session and want to split up each test in its own file. This feature is only available with elgalu/selenium.
+ Here is an example in Java:
+
+{% highlight java %}
+ Cookie cookie = new Cookie("zaleniumVideo", "true");
+ webDriver.manage().addCookie(cookie);
+{% endhighlight %}
+
+
+
+
+
+#### Change test file name while in session
+