Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Feature Request - New keyword to perform operation elements returning from Get Webelements

オープン
#1,534 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

まず既存の Get Web Elements キーワードと issue 315 の議論を確認し、その後、提案されたループを現在の SeleniumLibrary キーワードパターンと比較します。完了の条件は、リストベースのテキストおよび属性チェックについて、範囲が決定され文書化されており、要求された例をカバーする動作と適切なテストがあることです。

索引モデルが issue の本文から書いたものです。

説明

enhancement priority: medium

Can we have a keyword wrapped around Get Web Elements which will do operations on the list return by this? For example, If in an application I filtered a column and want to verify if the results are there in each row I can simply do below:

@{elList} = Get webelements ${OR_CELL_TO_CHECK}
:FOR ${item} IN @{elList}
${textOfAcc}= Get Text ${item}
Should Be Equal ${textOfAcc} ${SHOULD_CONTAINS}
END

We can have multiple keywords using this like:
Get elements and verify the text
Get elements and verify attribute
Get elements and verify does not contains text

For elements with text we can still use Page Should Contains Text with limit argument as suggested by @aaltat in another thread but I would still feel attribute checks are required some time and we should have a list of keywords to deal with it.

Thanks!

主要言語
Python
スター
1.5k
フォーク
787
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

robotframework/SeleniumLibrary のほかの issue

robotframework/SeleniumLibrary の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。