-1
Microsoft EdgeはexecuteScript
をframeId
でまだサポートしていますか?frameIdを含めるとexecuteScriptが動作しない
私が行う場合:私はそれでframeId
が含ま
browser.tabs.executeScript(tabId, { frameId:0, code:'alert("wha")' })
場合、それはこのエラーが発生します。
Unhandled promise rejection Error: Invalid value for argument 2. Property 'frameId': Unexpected property.
私はwebNavigation.getAllFrames
ひばりありがとうございましたこれは私が探していたページでした。リンクありがとう! – Noitidart