(func, args, world = "MAIN")
| 428 | }; |
| 429 | |
| 430 | export const runScriptInCurrentTab = async (func, args, world = "MAIN") => { |
| 431 | const tab = await getCurrentTab(); |
| 432 | // focusToTab(tab); |
| 433 | return await runScriptInTab({ func, args, target: { tabId: tab.id }, world }); |
| 434 | }; |
| 435 | |
| 436 | export const runScriptFileInCurrentTab = async (scriptFile, world = "MAIN") => { |
| 437 | const tab = await getCurrentTab(); |
no test coverage detected