Revision 463e6830
Added by koszko almost 2 years ago
| background/main.js | ||
|---|---|---|
| 186 | 186 |
const code = `\ |
| 187 | 187 |
console.warn("Hi, I'm Mr Dynamic!");
|
| 188 | 188 |
|
| 189 |
console.debug("let's see how window.killtheweb looks like now");
|
|
| 189 |
console.debug("let's see how window.haketilo_exports looks like now");
|
|
| 190 | 190 |
|
| 191 |
console.log("killtheweb", window.killtheweb);
|
|
| 191 |
console.log("haketilo_exports", window.haketilo_exports);
|
|
| 192 | 192 |
` |
| 193 | 193 |
|
| 194 | 194 |
async function test_dynamic_content_scripts() |
Also available in: Unified diff
facilitate testing javascript functions
Haketilo's .js files can now be loaded together with their dependencies and
executed on a page opened in a selenium-driven Firefox instance.