Remove now unused injectedScript command
This commit is contained in:
parent
a7559f7b8c
commit
c4332247cb
|
|
@ -1404,8 +1404,6 @@ export class InjectedScript {
|
|||
received = getAriaRole(element) || '';
|
||||
} else if (expression === 'to.have.title') {
|
||||
received = this.document.title;
|
||||
} else if (expression === 'to.have.url') {
|
||||
received = this.document.location.href;
|
||||
} else if (expression === 'to.have.value') {
|
||||
element = this.retarget(element, 'follow-label')!;
|
||||
if (element.nodeName !== 'INPUT' && element.nodeName !== 'TEXTAREA' && element.nodeName !== 'SELECT')
|
||||
|
|
|
|||
Loading…
Reference in a new issue