Guys, i am trying to build web-scrapper in python using selenium.
for that i required firefox browser and geckodriver to run browser remotely.
is there any way to used pre-installed firefox browser of user system and geckodriver from mozilla release github page here:(https://github.com/mozilla/geckodriver/releases)???
i don’t want to add firefox as stage-snaps dependency in snapcraft.yaml because it increase size of my snap.
this is my snapcraft.yaml file:
name: testapp # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
store.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
parts:
testapp:
# See 'snapcraft plugins'
plugin: python
python-version: python3
source: .
apps:
testapp:
command: bin/testapp
plugs:
- home
so, is there any way to connect my snap to user system firefox and use geckodrive to run firefox??