Fixes the following error
File "/builds/vivia/gst-plugins-bad/gst-build/build/../subprojects/gst-examples/webrtc/check/basic.py", line 5, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/17>
--- /dev/null
+#!/usr/bin/env python3
+
+import os
+import unittest
+from selenium import webdriver
+from selenium.webdriver.support.wait import WebDriverWait
+from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
+from selenium.webdriver.chrome.options import Options as COptions
+import asyncio
+import threading
+import signal
+
+import gi
+gi.require_version('Gst', '1.0')
+from gi.repository import Gst
['basic', 'basic.py'],
]
-if openssl.found()
+check_test = find_program ('configure_test_check.py')
+have_webrtc_check_deps = run_command (check_test).returncode() == 0
+
+if openssl.found() and have_webrtc_check_deps
test_deps = [certs]
+ message ('adding webrtc tests')
foreach elem : tests
test(elem.get(0),