Définir la valeur à l'aide de JavaScript
document.getElementById("myText").value = "your string";
Annoyed Armadillo
document.getElementById("myText").value = "your string";
var inputValue = document.getElementById("myTextInputID").value;
const assert = require('assert')
describe('v5.webdriver.io', () => {
it('should set value for a certain element', async () => {
await browser.url('https://v5.webdriver.io')
const input = await $('#search_input_react');
await input.setValue('test124');
await browser.pause(4000);
})
})