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

Wait For Condition and Title Should Be seem to be out of sync

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

まず、Headless Chrome で3つの連続したテストを再現し、条件待機とタイトルアサーションを比較します。既存のタイトルアサーションがブラウザーのタイトルをどのように読み取り、待機がどのように実装されているかを追跡します。タイトルチェックが一貫したブラウザー状態を使用し、断続的な失敗が回帰テストでカバーされれば完了です。

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

説明

For issues

Steps to reproduce the issue

I noticed when running headlesschrome I get a failure versus using chrome which passes. I think the Javascript changes before the self.driver.title does on headlesschrome

I have the following code

  Wait For Condition  return document.title === 'Title of Website'
  Title Should Be  Title of Website

I have this code running in three back to back tests, the first one is the one that fails the most; but it isn't guaranteed. This concerns me that it might not be easily reproducible.

For a solution; I think implementing a Wait Unit Title Is keyword would be best to implement so it is using the self.driver.title property to match Title Should Be.

Error messages and additional information

Title should have been 'Title of Website' but was 'Sign In Page'.

Browser: Headlesschrome
Browser driver: Chrome
Operating System: Windows 10
Libraries

  • Robot Framework: Version 4.0.1
  • SeleniumLibrary: Version 5.1.3
主要言語
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 を短くまとめたダイジェスト。