How can i use Selenium Webdriver inside flatpak Eclipse?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- desktop, testing-qa
Research direction
Start with the failing entry point at StepFiles.Login.setup(Login.java:29) and the scenario in src/test/java/FeatureFiles/Login.feature:47. Review the FirefoxBinary and FirefoxOptions stack-trace context alongside the Flatpak Eclipse and browser setup described in the issue. Done means documenting a supported way to run the scenario in Flatpak Eclipse, or clearly recording the relevant limitation.
Written by the indexing model from the issue text.
Description
Hi guys im trying to run chromedriver and geckodriver for firefox inside an Eclipse project, but flatpak Eclipse app cant open Firefox or Chromium because Eclipse does not have access to the binaries of the system, i have tried to give access to the binaries using flatseal but nothing works:
PATH=/app/bin:/app/openjdk-11/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:
This is the Eclipse error log:
Scenario: Login in to account with correct details # src/test/java/FeatureFiles/Login.feature:47
org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: LINUX
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'debian', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.0-11-amd64', java.version: '11.0.8'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:100)
at java.base/java.util.Optional.orElseGet(Optional.java:369)
at org.openqa.selenium.firefox.FirefoxOptions.getBinary(FirefoxOptions.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.toExecutor(FirefoxDriver.java:187)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:147)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:125)
at StepFiles.Login.setup(Login.java:29)
When i try to execute my code with a local Eclipse installation everything works fine.
Is there a way to give flatpak Eclipse access to the flatpak Firefox or chormium binaries?
- Dominant language
- No language data
- Stars
- 6
- Forks
- 10
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flathub/org.eclipse.Java
-
Eclipse (Flatpak) crashes with SIGABRT: GTK icon fallback aborts when the glycin SVG loader fails Openbug
Difficulty 5/5 Over a week Newbie friendliness 35/100
flathub/org.eclipse.Java#138 · 3 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flathub/org.eclipse.Java#100 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
flathub/org.eclipse.Java#56 · 3 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
flathub/org.eclipse.Java#34 · 3 comments · 1 reaction ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
flathub/org.eclipse.Java#18 ·
All issues in flathub/org.eclipse.Java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
area/install-update comp/desktop P3 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#119801 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
maxgoedjen/secretive#840 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·