Wartość dodawania wartości
const assert = require('assert')
describe('v5.webdriver.io', () => {
it('should demonstrate the addValue command', async () => {
browser.url('https://v5.webdriver.io')
let input = await $('#search_input_react')
await input.addValue('test')
await browser.pause(4000);
await input.addValue('123')
await browser.pause(4000);
value = await input.getValue()
assert(value === 'test123') // true
})
})
Vivacious Vicuña