Error:Failed: invalid argument: 'id' can not be string
(Session info: chrome=88.0.4324.146)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'RADA-HYD-01', ip: '192.168.0.165', os.name: 'Windows 10', os.arch: 'amd64',
os.version: '10.0', java.version: '1.8.0_261'
Driver info: driver.version: unknown
Hi can anyone please help me in resolving this issue.
Script:
browser.switchTo().frame('courses-iframe');
element(by.css("a[href*='Login']")).getText().then(function (Result) {
console.log(Result);
});
question from:
https://stackoverflow.com/questions/66047237/getting-error-while-switching-to-another-frame 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…