Wait Until Element Is Visible and Wait Until Element Is Not Visible log about 45 kilobytes of JS code on DEBUG level
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- testing-qa
Direzione di ricerca
Inizia riproducendo l’esempio con SeleniumLibrary, Chrome o Firefox e il logging DEBUG. Traccia l’implementazione di Wait Until Element Is Visible e Wait Until Element Is Not Visible, concentrandoti sul motivo per cui isDisplayed.js viene emesso nel log. Il lavoro è completato quando i controlli di visibilità ripetuti non registrano più il payload JavaScript di circa 45 KB, continuando comunque a funzionare.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 1.5k
- Fork
- 787
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di robotframework/SeleniumLibrary
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
robotframework/SeleniumLibrary#1941 · 3 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
robotframework/SeleniumLibrary#1833 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
robotframework/SeleniumLibrary#1436 · 5 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
robotframework/SeleniumLibrary#1993 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
robotframework/SeleniumLibrary#1992 · 4 commenti ·
Tutte le issue di robotframework/SeleniumLibrary
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·