Change the timeout
noamalffasy opened this issue · 2 comments
noamalffasy commented
Hi!
Is it possible to change the timeout on the evaluate JS function?
I'm running a promise in the JS so I need to extend the timeout.
phimage commented
Yes you can try
let engine = Erik.sharedInstance.layoutEngine as? WebKitLayoutEngine
engine?.javaScriptWaitTime=60
noamalffasy commented
That worked, thanks!