Last modified: April 22, 2021

How to solve selenium.common Message: 'geckodriver' executable may have wrong permission error

In this tutorial, I'm going to show you how to solve selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable may have wrong permissions. error in Linux.
This error appears when the geckodriver driver has not the permission to run.

Solving the issue

To solve this issue, you need to follow this command:

sudo chmod +x geckodriver