Skip to content

Tag: async-await

Javascript don’t want to use await

I have an async function like that: When I call this method, I am calling it like that: It works well in this way. But I don’t want to use the await keyword when calling this method. If I remove the await keyword, it waits forever in this line: await page.setRequestInterception(true); It should work on …