[PR #412] [MERGED] Handle Selenium 4.13 no longer supporting headless #533

Closed
opened 2026-03-02 15:58:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/probberechts/soccerdata/pull/412
Author: @probberechts
Created: 10/14/2023
Status: Merged
Merged: 10/14/2023
Merged by: @probberechts

Base: masterHead: fix/selenium-headless


📝 Commits (1)

  • 1593c74 Handle Selenium 4.13 no longer supporting headless

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 soccerdata/_common.py (+11 -0)
📝 soccerdata/whoscored.py (+1 -1)

📄 Description

Selenium does no longer support headless mode for version 4.13 and above. This was added to the docs and a warning is raised if headless mode is enabled for a recent version of Selenium.

Also adds a temporary fix for undetected-chromedriver, setting "headless" explicitly to False, such that soccerdata can still be used with recent versions of selenium.

Fixes #398


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/412 **Author:** [@probberechts](https://github.com/probberechts) **Created:** 10/14/2023 **Status:** ✅ Merged **Merged:** 10/14/2023 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `fix/selenium-headless` --- ### 📝 Commits (1) - [`1593c74`](https://github.com/probberechts/soccerdata/commit/1593c7428c5b105ad35ce05a84f13ba2e29e9c3a) Handle Selenium 4.13 no longer supporting headless ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/_common.py` (+11 -0) 📝 `soccerdata/whoscored.py` (+1 -1) </details> ### 📄 Description Selenium does no longer support headless mode for version 4.13 and above. This was added to the docs and a warning is raised if headless mode is enabled for a recent version of Selenium. Also adds a temporary fix for undetected-chromedriver, setting "headless" explicitly to False, such that soccerdata can still be used with recent versions of selenium. Fixes #398 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:58:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#533
No description provided.