Dec-04-2020, 12:21 PM
Hello everyone,
i have a project where i want to copy multiple elements on a website and each time i copy it a new tab opens with a search for this product. Unfortunatly each time i excetue it my focus switches to the new tab and i have to reclick to my initial page. Is there a way to silently open a new tab without generating the focus to it. I tryed with autoritation as False but it did not change anything. The line of code i use to open is down below. Thanks so much in advance!
webbrowser.open(ulr)
i have a project where i want to copy multiple elements on a website and each time i copy it a new tab opens with a search for this product. Unfortunatly each time i excetue it my focus switches to the new tab and i have to reclick to my initial page. Is there a way to silently open a new tab without generating the focus to it. I tryed with autoritation as False but it did not change anything. The line of code i use to open is down below. Thanks so much in advance!
webbrowser.open(ulr)