Skip to content

Extension does not work until I reload it but ONLY via the window I didn't open. #466

Description

@Nakilon

The extension I need does not work until I reload it but only in the weird window that opens on its own.
image

I've unpacked the CRX of the extension to be able to access Instagram

          browser_options: {
            "disable-extensions-except" => "#{__dir__}/../chrome_extension",
            "load-extension"            => "#{__dir__}/../chrome_extension",
          },

I could ignore the second window and use my main window handle to open the chrome://extensions/?options=makgnifbifgfobblgpnfiffljgjfjhdi to "enable working in incognito mode", etc. and go on, but the Instagram does not open (net::ERR_NAME_NOT_RESOLVED) until I press the Reload icon on the extension page and only in that second window.

How do I properly switch to that window and can't it be just one?

UPD:

browser.windows.size
=> 0

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions