diff options
Diffstat (limited to 'test/extension_crafting.py')
-rw-r--r-- | test/extension_crafting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/extension_crafting.py b/test/extension_crafting.py index ed5792f..bf54691 100644 --- a/test/extension_crafting.py +++ b/test/extension_crafting.py @@ -136,7 +136,7 @@ default_test_page = ''' open_test_page_script = '''(() => { const page_url = browser.runtime.getURL("testpage.html"); const execute_details = { - code: `window.location.href=${JSON.stringify(page_url)};` + code: `window.wrappedJSObject.ext_page_url=${JSON.stringify(page_url)};` }; browser.tabs.query({currentWindow: true, active: true}) .then(t => browser.tabs.executeScript(t.id, execute_details)); |