foxshot icon indicating copy to clipboard operation
foxshot copied to clipboard

Plugin custom script

Open tzkmx opened this issue 7 years ago • 1 comments

A nice tool, a great example on how to commit to automation of the browser.

I was wondering if it would be possible to pass a custom script to load after the first sleep or in the middle of the "runTest" function.

tzkmx avatar Dec 07 '17 17:12 tzkmx

Yes, it's actually quite simple: await driver.executeScript( <<INSERT JAVASCRIPT HERE>> );

AndreSteenbergen avatar Dec 11 '17 15:12 AndreSteenbergen