Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basico-0.4] Profile not found for Selenium Firefox webdriver #1

Open
t00m opened this issue May 24, 2020 · 1 comment
Open

[basico-0.4] Profile not found for Selenium Firefox webdriver #1

t00m opened this issue May 24, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@t00m
Copy link
Owner

t00m commented May 24, 2020

Describe the bug
Basico can't launch Firefox with a specific profile

To Reproduce
Steps to reproduce the behavior:

  1. Open Basico
  2. Click on Add SAP Note
  3. Type SAP Note Nuber
  4. Click on Download

Expected behavior
Open a new Firefox window to login in SAP Launchpad Portal and download the SAP Note

Error

Traceback (most recent call last):
  File "/home/t00m/.local/lib/python3.8/site-packages/basico-0.4-py3.8.egg/basico/services/srv_callbacks.py", line 462, in sapnote_import_from_launchpad
    driver = webdriver.open()
  File "/home/t00m/.local/lib/python3.8/site-packages/basico-0.4-py3.8.egg/basico/services/srv_driver.py", line 98, in open
    FIREFOX_PROFILE = webdriver.FirefoxProfile(FIREFOX_PROFILE_DIR)
  File "/home/t00m/.local/lib/python3.8/site-packages/selenium-4.0.0a5-py3.8.egg/selenium/webdriver/firefox/firefox_profile.py", line 64, in __init__
    with open(os.path.join(os.path.dirname(__file__),
FileNotFoundError: [Errno 2] No such file or directory: '/home/t00m/.local/lib/python3.8/site-packages/selenium-4.0.0a5-py3.8.egg/selenium/webdriver/firefox/webdriver_prefs.json'

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: Firefox
  • Python: 3.8
  • Selenium API version: 4.0.0a5
  • geckodriver 0.26.0
@t00m t00m self-assigned this May 24, 2020
@t00m t00m added the bug label May 24, 2020
@t00m t00m added this to the 0.4 milestone May 24, 2020
@t00m t00m pinned this issue May 24, 2020
@t00m
Copy link
Owner Author

t00m commented May 24, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant