In a notebook cell, I installed GeckoDriver with the following terminal command:
!conda install -c conda-forge geckodriver
and found its directory in path using the following terminal command:
!ls /path/to/{$PATH}
When trying to initialise a Firefox session with Selenium as below:
from selenium import webdriver
driver = webdriver.Firefox(executable_path, options)
such that
executable_path = '/path/to/geckodriver/dir/geckodriver'
options = var webdriver.FirefoxOptions()
These are the same codes I use when working locally (MacOS Catalina) and performed just fine.
However, on the cloud of Watson Studio, the kernel was interrupted with the following error:
Unable to find a matching set of capabilities
How shall I proceed to resolve the issue?
------------------------------
Azhar
Data Scientist, Trainee
CADS (Malaysia)
------------------------------
#WatsonStudio