Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Pyinstaller executable fails #102

@AlexPaiva

Description

@AlexPaiva

Describe the bug
Using pyinstalelr to turn a script into an .exe makes the driver not open, simply flash a console and not open.

To Reproduce

from selenium_profiles.webdriver import Chrome
from selenium_profiles.profiles import profiles
from selenium_driverless.webdriver import ChromeOptions
from selenium_driverless.types.by import By

profile = profiles.Windows()  # or .Android
options = ChromeOptions()
# options.add_argument("--headless=new")
driver = Chrome(profile, options=options, driverless_options=True)

# get url
driver.get('https://nowsecure.nl#relax')  # test fingerprint

driver.quit()  # Execute on the End!

Expected behavior or error-message
A clear and concise description of what you expected to happen.

No error messages

Environment (please complete the following information):

  • OS: Windows
  • OS-Version 10
  • Browser Chrome latest
  • Selenium-Profiles Version Latest
  • Selenium Version Latest
  • selenium-driverless Version Latest
  • Python versin 3.10

Additional context
Initially it gave a missing 'Failed to execute script 'pyi_rth_wind32api' due to unhandled exception: DLL load failed' error but manually adding it as a binary import seems to work.

Metadata

Metadata

Assignees

Labels

devDevelopment for dev branchenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions