Skip to content

Fails to enable devtools or inject js into slack #15

@CodeF53

Description

@CodeF53

Test Procedure

The following is the contents of test.js

setInterval(()=>{console.log("test")}, 100)

If it is successfully injected, we should see test logged to the console 10 times every second

To ensure the process runs correctly, I run the following to make sure slack has no background instances

taskkill -im slack.exe -f

Running the following command leads to slack successfully launching, with a perfect trace of what is being logged into the devtools console.

python -m electron_inject -d -t 600 -r ./test.js - C:\ProgramData\F53\slack\app-4.27.154\slack.exe

Pressing F12 in this new slack window does not open devtools, despite us having the -d argument

Running the /slackdevtools in any slack chat shows them manually.
Looking at the console we just opened, test is not being logged 10 times every second

Possibly relevant Info

Python 3.10.1
electron-inject 0.7
all installed python packages
Windows 10 Enterprise N build 19044.1826
Slack 4.27.154

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions