Answer the question
In order to leave comments, you need to log in
How can I open a new terminal for code?
I welcome everyone!
For example, there is this piece of code:
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
async function input(prompt) {
console.log(prompt);
return (await rl[Symbol.asyncIterator]().next()).value;
}
async function code() {
const code = await input("Код здесь: ");
await frameCode.type("input[name='PASSWORD']", code);
await frameCode.click("#btnSubmit", btn => btn.click());
rl.close();
}
code();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question