robotframework / robotframework/SeleniumLibrary
Add functionality provided by new Selenium 4 create and/or switch to new window or tab
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 1.5k
- Fork
- 787
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
As per the Selenium documentation [1], "Selenium 4 provides a new api NewWindow which creates a new tab (or) new window and automatically switches to it.". This is compared to the previous behavior where "[c]licking a link which opens in a new window [would] focus the new window or tab on screen, but WebDriver will not know which window the Operating System considers active. To work with the new window you will need to switch to it. If you have only two tabs or windows open, and you know which window you start with, by the process of elimination you can loop over both windows or tabs that WebDriver can see, and switch to the one which is not the original."
References:
- Working with windows and tabs
- Selenium WebDriver 4: New Window, New Tab & Screenshots - TestProject Blog post
- Selenium 4 - New Windows and Tab Utilities - SauceLabs Blog post
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.
Direzione di ricerca
Inizia dalla documentazione di Selenium 4 Working with windows and tabs collegata nell'issue, quindi confronta la NewWindow API con le funzionalità esistenti di gestione di finestre e schede di SeleniumLibrary. Il lavoro è completo quando SeleniumLibrary espone un comportamento equivalente di creazione e passaggio a una nuova finestra o scheda e lo verifica con test appropriati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- testing-qa
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100