D
Size: a a a
D
A
SM
D
K
A
AV
AP
YO
YO
AK
const elem = $('#someText')
elem.waitUntil(function () {
return this.getText() === 'I am now different',
}, {
timeout: 5000,
timeoutMsg: 'expected text to be different after 5s'
});
мой код:const body = $('body');дает ошибку
body.waitUntil(() => {
return this.getAttribute('aria-busy') === 'false';
}, {
interval: 100
});
this.getAttribute is not a function
AK
B
IF
const elem = $('#someText')
elem.waitUntil(function () {
return this.getText() === 'I am now different',
}, {
timeout: 5000,
timeoutMsg: 'expected text to be different after 5s'
});
мой код:const body = $('body');дает ошибку
body.waitUntil(() => {
return this.getAttribute('aria-busy') === 'false';
}, {
interval: 100
});
this.getAttribute is not a function
AK
OK
AV
OK
OK
OK