Closed andre-santos1 closed 2 years ago
Unsure, but maybe you need to update selenium-wire? https://pypi.org/project/selenium-wire/
See History > 4.6.2: "Fix import error with missing TouchActions in Selenium>4.1.0"
One of:
pip install --upgrade -r requirements.txt
pip3 install --upgrade -r requirements.txt
pip3.9 install --upgrade -r requirements.txt
Doing this also fixed my strange issue with chromedriver crashing, and even falling through (doing nothing).
btw, personally I wouldn't run ghunt / check_and_gen with sudo. It's not necessary anyways.
Great!!!!1 Thanks!!! Now I have a cookies problem... I´ll search for a solution
Thanks
When I run "sudo python3 check_and_gen.py" I get the following error:
Traceback (most recent call last): File "/home/kali/ghunt/check_and_gen.py", line 14, in
from seleniumwire import webdriver
File "/usr/local/lib/python3.9/dist-packages/seleniumwire/webdriver.py", line 14, in
from selenium.webdriver import TouchActions # noqa
ImportError: cannot import name 'TouchActions' from 'selenium.webdriver' (/usr/local/lib/python3.9/dist-packages/selenium/webdriver/init.py)
No luck Googling it... Anyone can help me?