Anyway to record videos for browsers sessions launched via "driver = Driver()" class? #2370
-
I am on Ubuntu VPS and following piece of code works perfectly.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
For video recording, see: #642 (comment): Use an existing tool with SeleniumBase such as Zalenium for recording videos: However, that requires the use of a SeleniumBase format ( UC Mode doesn't support remote browsers. The driver and browser must both be on a local machine so that UC Mode can make modifications to the driver (transforming |
Beta Was this translation helpful? Give feedback.
For video recording, see: #642 (comment):
Use an existing tool with SeleniumBase such as Zalenium for recording videos:
https://opensource.zalando.com/zalenium/
It works like a Selenium Grid.
See https://seleniumbase.io/seleniumbase/utilities/selenium_grid/ReadMe/ for instructions on using SeleniumBase to connect to a Selenium Grid.
However, that requires the use of a SeleniumBase format (
SB()
orBaseCase
) since theDriver()
format doesn't have the necessary code. Also, UC Mode isn't supported for Selenium Grid because SeleniumBase needs direct access to a local driver for that to work. As mentioned in #2278 (comment):UC Mode doesn't support remote browsers. The driver and browser must b…