📅 2023-04-09 — Session: Automated Radio Stream Playback with Selenium

🕒 22:05–22:45
🏷️ Labels: Selenium, Automation, Python, Ubuntu, Geckodriver
📂 Project: Dev
⭐ Priority: MEDIUM

Session Goal

The main objective of this session was to automate the playback of a radio stream using Selenium on an Ubuntu system.

Key Activities

  • Setup Selenium and GeckoDriver: Detailed steps were followed to install and configure Selenium with Firefox and GeckoDriver on Ubuntu. This included downloading the necessary executables and setting up the environment.
  • Version Checks: Verified the installation and compatibility of Google Chrome and Firefox versions on Ubuntu to ensure proper browser automation.
  • Script Development: Developed Python scripts to automate radio playback using Selenium, both in headless and visible modes.
  • Troubleshooting: Addressed issues related to GeckoDriver extraction and communication between Firefox WebDriver and GeckoDriver.

Achievements

  • Successfully set up Selenium with Firefox and GeckoDriver on Ubuntu.
  • Automated a Python script to play a radio stream using Selenium.
  • Resolved compatibility and deprecation warnings in Selenium scripts.

Pending Tasks

  • Further testing and validation of the automated playback script in different environments.
  • Explore additional automation tasks using Selenium and other browsers.