Wait Until Element Is Visible and Wait Until Element Is Not Visible log about 45 kilobytes of JS code on DEBUG level
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- testing-qa
調査の方向性
まず、SeleniumLibrary、Chrome または Firefox、および DEBUG ロギングを使用して例を再現します。Wait Until Element Is Visible と Wait Until Element Is Not Visible の実装を追跡し、isDisplayed.js がログに出力される理由に注目します。繰り返し行われる可視性チェックで約 45 KB の JavaScript ペイロードがログに記録されなくなり、チェック自体は引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
For issues
Steps to reproduce the issue
Can be reproduced with at least Chrome and Firefox.
*** Settings ***
Library SeleniumLibrary
*** Test Cases ***
Test Case
Open Browser https://robotframework.org/ firefox
Wait Until Element Is Visible introduction
Close Browser
Error messages and additional information

JavaScript code seems to originate from C:\Python37\Lib\site-packages\selenium\webdriver\remote\isDisplayed.js
Expected behavior and actual behavior
Expected behavior: visibility would be checked without logging JavaScript code.
Actual behavior: 45 056 bytes of JavaScript is logged each time Wait Until Element Is Visible or Wait Until Element Is Not Visible is called. Our recent log file exceeded 500 megabytes in size because these keywords were called over 10,000 times during the test run.
This is relatively new change as I don't remember seeing this in spring 2019.
Environment
Browser: Chrome 78, Firefox 70
Browser driver: ChromeDriver 78, GeckoDriver 0.26.0
Operating System: Windows 10
Libraries
- Robot Framework: 3.1.2
- Selenium: 3.141.0
- SeleniumLibrary: 4.1.0
- Interpreter: Python 3.7.4
- 主要言語
- Python
- スター
- 1.5k
- フォーク
- 787
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
robotframework/SeleniumLibrary のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
robotframework/SeleniumLibrary#1941 · コメント 3 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
robotframework/SeleniumLibrary#1833 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
robotframework/SeleniumLibrary#1436 · コメント 5 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
robotframework/SeleniumLibrary#1993 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
robotframework/SeleniumLibrary#1992 · コメント 4 件 ·
robotframework/SeleniumLibrary の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·