Closed gary-archer closed 10 months ago
Nice idea, the best way to do this is to use the npm
module and some JavaScript.
npm install --save tunnelmole
Then in your script:
import { tunnelmole } from 'tunnelmole';
const url = await tunnelmole({
port: 3000
});
// url = https://idsq6j-ip-157-211-195-169.tunnelmole.net
Then just use that URL for the automation.
Very nice component - and I like the way you can get multiple generated internet SSL URLs. I was trying to use it for a code example that demonstrated a tricky mobile security use case.
In ngrok you can write the following type of script to spin up a URL and then use the URL value in automation. For example to configure components that use the URLs. A similar feature in your component would also add to its appeal, so thought I'd add a request for that.
Nothing urgent though - for now I'm writing some script which seems to work alright: