0
こんにちは私はSeleniumの初心者です。私はwebdriverフレームワークを使用してシナリオを自動化しようとしています。シナリオの最後の段階で、私はラジオボタンを見つけることができないですし、私のコードは、これは私のセレンコードですTimeout ErrorWeb要素Seleniumを見つけることができません
このエラーがスローされます。
setTimeout(function(){
driver.wait(until.elementLocated(By.id('radRadioSub')), 24000, 'radRadioSub not located');
if (pattern.comment.length > 0) {
driver.findElement(By.name('remarksArea')).sendKeys(pattern.comment);
console.log("Trying to update remarks area")
}
// Select Discard radio >> radRadioDis
console.log("Trying to click on disegard/aprove")
driver.findElement(By.id(actionToDo)).click().then(function()
{
console.log('We clicked on the element' + actionToDo);
});
// Send : >> btnSolveTaskToolbar
driver.findElement(By.id('btnSolveTaskToolbar')).click().then(function()
{
console.log('We clicked on the element btnSolveTaskToolbar');
});
},6000);
誰かが私を助けることができますか?前もって感謝します!