Skip to content

[🐛 Bug]: [python][Chrome] Webextension - no support for archived and base64 extensionData type in Chrome? #16541

Description

@dornech

Description

If I try to install a crx-file provided via archive_apth parameter to webextensions.install I get an error:
selenium.common.exceptions.WebDriverException: Message: unsupported operation: Archived and Base64 extensions are not supported

It works if I unzip the file and provide the target directory of the unzipped files as path parameter..

If I get the respective test script right, there is also no testcase for this yet.
Does it mean archiv_path and base64_path are not yet implemented in the Python bindings for Chrome?

Reproducible Code

standard call to webextension

Debugging Logs

Traceback (most recent call last):
  File "F:\WinPython\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\selenium\webdriver\common\bidi\webextension.py", line 60, in install
    result = self.conn.execute(command_builder("webExtension.install", params))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "F:\WinPython\WPy64-31140\python-3.11.4.amd64\Lib\site-packages\selenium\webdriver\remote\websocket_connection.py", line 78, in execute
    raise WebDriverException(error_msg)
selenium.common.exceptions.WebDriverException: Message: unsupported operation: Archived and Base64 extensions are not supported

ℹ️ Last known working version: n. a.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions