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

Cannot read properties of undefined (reading 'executeScript') #1843

Open
L-x-C opened this issue Oct 22, 2024 · 0 comments
Open

Cannot read properties of undefined (reading 'executeScript') #1843

L-x-C opened this issue Oct 22, 2024 · 0 comments

Comments

@L-x-C
Copy link

L-x-C commented Oct 22, 2024

Describe the bug
in migrate-mv3 branch, add a [javascript code] workflow, it wont work

To Reproduce
Steps to reproduce the behavior:
{"extVersion":"1.28.27","name":"22","icon":"riGlobalLine","table":[],"version":"1.28.27","drawflow":{"edges":[{"class":"source-YsLKQtlI56rp6mQ8cKvUZ-output-1 target-1yd9wso-input-1","data":{},"events":{},"id":"vueflow__edge-YsLKQtlI56rp6mQ8cKvUZYsLKQtlI56rp6mQ8cKvUZ-output-1-1yd9wso1yd9wso-input-1","markerEnd":"arrowclosed","selectable":true,"source":"YsLKQtlI56rp6mQ8cKvUZ","sourceHandle":"YsLKQtlI56rp6mQ8cKvUZ-output-1","sourceX":312,"sourceY":665.5,"target":"1yd9wso","targetHandle":"1yd9wso-input-1","targetX":373,"targetY":692,"type":"custom","updatable":true},{"class":"source-1yd9wso-output-1 target-mlshpzf-input-1","data":{},"events":{},"id":"vueflow__edge-1yd9wso1yd9wso-output-1-mlshpzfmlshpzf-input-1","markerEnd":"arrowclosed","selectable":true,"source":"1yd9wso","sourceHandle":"1yd9wso-output-1","sourceX":605,"sourceY":692,"target":"mlshpzf","targetHandle":"mlshpzf-input-1","targetX":673,"targetY":675,"type":"custom","updatable":true}],"nodes":[{"data":{"activeInInput":false,"contextMenuName":"","contextTypes":[],"date":"","days":[],"delay":5,"description":"","disableBlock":false,"interval":60,"isUrlRegex":false,"observeElement":{"baseElOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false},"baseSelector":"","matchPattern":"","selector":"","targetOptions":{"attributeFilter":[],"attributes":false,"characterData":false,"childList":true,"subtree":false}},"parameters":[],"preferParamsInTab":false,"shortcut":"","time":"00:00","type":"manual","url":""},"events":{},"id":"YsLKQtlI56rp6mQ8cKvUZ","label":"trigger","position":{"x":100,"y":629.5},"type":"BlockBasic"},{"data":{"disableBlock":false},"events":{},"id":"1yd9wso","label":"active-tab","position":{"x":393,"y":656},"type":"BlockBasic"},{"data":{"code":"alert('abc')\nautomaNextBlock()","context":"website","description":"","disableBlock":false,"everyNewTab":false,"preloadScripts":[],"runBeforeLoad":false,"timeout":20000},"events":{},"id":"mlshpzf","label":"javascript-code","position":{"x":693,"y":639},"type":"BlockBasic"}],"position":[-14,-16],"viewport":{"x":-14,"y":-16,"zoom":1},"zoom":1},"settings":{"blockDelay":0,"debugMode":false,"defaultColumnName":"column","execContext":"popup","executedBlockOnWeb":false,"inputAutocomplete":true,"insertDefaultColumn":false,"notification":true,"onError":"stop-workflow","publicId":"","restartTimes":3,"reuseLastState":false,"saveLog":true},"globalData":"{\n\t"key": "value"\n}","description":"","includedWorkflows":{}}

Expected behavior
open an active tab, and alert('abc')

Screenshots
image
image

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser: [Google Chrome]
  • Extension Version: [ v1.28.7]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant