Selenium WebDriver Firefox Error: API Rate limit exceeded. You have to add GH_TOKEN

Viewed 3423

Using the sample test code from SeleniumHQ github, I tried to run this code:

def test_firefox_session():
service = FirefoxService(executable_path=GeckoDriverManager().install())

driver = webdriver.Firefox(service=service)

driver.quit()

The test resulted as a failed test, with the error:

ValueError: API Rate limit exceeded. You have to add GH_TOKEN!!!

The test cases for Chrome and Edge browsers were successful.

Any help is much appreciated, preferably using webdriver-manager

Versions: Selenium: 4.1.5 webdriver_manager: 3.7.0 python: 3.10 Firefox: 100.0

2 Answers
Related