Prevent Selenium from taking the focus to the opened window – Ubuntu
I have 40 Python unit tests and each of them open a Selenium driver as they are separate files and cannot share the same driver. from selenium import webdriver webdriver.Firefox() The above commands will take the focus to the new…