I have 3 lines of code:
from selenium import webdriver
driver = webdriver.Firefox(executable_path= './geckodriver')
driver.get('http://wikipedia.org')
Whenever I run this, line 2 gives the error:
[Errno 8] Exec format error './geckodriver'
I've tried the following 64-bit geckodrivers 23, 24, 25, 26, 27, and 28 Ubuntu loaded Firefox 81.0.2 (64-bit)
So far, no dice.
This code works in my Windows environment with geckodriver 27 and Firefox 84.
Is there a trick to making it work on Linux?