2017-05-30 3 views
-1

Microsoft EdgeはexecuteScriptframeIdでまだサポートしていますか?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

答えて

1

でframeIDの年代を取得Supported APIsによると、

Executing script in a specific frame is not yet supported.

+0

ひばりありがとうございましたこれは私が探していたページでした。リンクありがとう! – Noitidart

関連する問題