Comments (15)
from geckodriver.
The problem related to the lines of controller i changed the path to /data/data/com.termux/files/usr/bin/geckodriver
Where the geckodriver is : still same error
from geckodriver.
This is the browser.py of the tool : https://github.com/OWASP/QRLJacking/blob/master/QRLJacker/core/browser.py
it should use headless environment so why gecko failing because of display error ? Please if you can check the code
from geckodriver.
Here is the full traceback from the tool
run
[+] Using the default useragent
Exception: WebDriver.init() got an unexpected keyword argument 'executable_path'
Trackback: Traceback (most recent call last):
File "/data/data/com.termux/files/home/QRLJacking/QRLJacker/core/browser.py", line 76, in new_session
new_headless[module_name]["Controller"] = Firefox(profile, executable_path="/usr/local/share/geckodriver", capabilities=caps)#options=self.opts) # Inserting the browser object ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'
[!] Couldn't open Firefox! Check the installation instructions again!
from geckodriver.
As it looks like the headless flag might not make it to it through the capabilities. But I would need a trace log from geckodriver. As such can you please try to pass the -vv
or --log=trace
argument to geckodriver? The log should appear on stdout as long as the tool you are using is not storing it into a local file (which then might be called geckodriver.log). Thanks.
from geckodriver.
@whimboo sir i already posted the gecko log
geckodriver.log = MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRAS>
Error: no DISPLAY environment variable specified
Also i guess there is problem in the exeutable path is it right or wrong because i change it in the browser.py on both lines .. please chech the browser.py of the tool i put the link to it .. thanks for response
from geckodriver.
- any way to install 0.34 for arm7 samsung phone .. i have 33 installed from tur repo
from geckodriver.
A trace log will contain way more internals as what has been posted yet. So please check that the mentioned flags are correctly forwarded to geckodriver.
from geckodriver.
Didn't get it sorry sir.. that's the only problem in the log is about the display envirmoent.. Also can I update geckodriver for termux on arm7 and how to do that
from geckodriver.
Ok so I used python3 instead of Python3.7
from geckodriver.
This is the tool trace back :
[+] Using the default useragent
Exception: Message: Process unexpectedly closed with status 1
Trackback:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/QRLJacking/QRLJacker/core/browser.py", line 76, in new_session
new_headless[module_name]["Controller"] = Firefox(profile, executable_path="/data/data/com.termux/files/usr/bin/geckodriver", capabilities=caps)#options=self.opts) # Inserting the browser object
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/selenium/webdriver/firefox/webdriver.py", line 201, in init
super().init(command_executor=executor, options=options, keep_alive=True)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 286, in init
self.start_session(capabilities, browser_profile)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 378, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 1
from geckodriver.
And this is the geckodriver.log
from geckodriver.
With python3.7 it produce only 1 error while with python3 it produces lot errors
Also the geckodriver log only generate on python3 not python3.7
Even if I test the driver on python3 it will work but on python3.7 show errors let me test it and show you
from geckodriver.
Maybe it would be good to get the problem with the Python versions sorted out with the tool as well.
Regarding the geckodriver issue could you please let the output redirect to a file? The actual command for starting Firefox is cut-off in both your former comments and the screenshot.
from geckodriver.
Ok Sir my problem is solved I just needed to install termux xcfe package and export display to use it on Vince viewer
from geckodriver.
Related Issues (20)
- Failed to download geckodriver archive HOT 1
- Not compatible with Hotspot Shield HOT 17
- Session cannot be started while doing "System.setProperty("webdriver.gecko.driver", "geckodriver.exe");" with geckodriver V: 0.34.0 HOT 1
- Geckodriver can't start Firefox 122 on Mac HOT 2
- Execute_(async_)script JS input not available in debugger/sources tab. HOT 4
- selenium.common.exceptions.WebDriverException: Message: Invalid Host header localhost:50047 exception with selenium and gecko HOT 10
- Exceptions When Switching Frames in Firefox 102.0 ESR with GeckoDriver v0.32 HOT 3
- Hi please help me I'm having trouble getting a Python script to work with Firefox and Selenium I ran the command with pytest and this comes out please help me I use VPS Linux Ubuntu to start this script HOT 2
- Invalid domain character when specifying port HOT 4
- Connection attempts to Marionette fail due to missing configuration file for Firefox (Linux lepotato 6.1.50-current-meson64) HOT 8
- SeleniumManager Exception managing firefox HOT 1
- please add some install directions to readme HOT 2
- Robot Framework with Firefox hangs on browser startup with specified alternate profile path given. HOT 2
- Hovering doesn't work when latent state is already "hover" HOT 7
- set permissions webdriver command doesn't work HOT 1
- Unable to launch Firefox with geckodriver 0.34.0 on Windows 11 HOT 2
- moz/addon/install not success
- moz/addon/install not success HOT 3
- selenium error: OpenQA.Selenium.WebDriverArgumentException: 'binary is not a Firefox executable' HOT 4
- Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geckodriver.