Answer the question
In order to leave comments, you need to log in
Is it possible in Selenium WebDriver to intercept events that happen from outside?
Example - I can click on a button through webdriver, having previously created a Firefox () instance.
from selenium import webdriver as ww
w = ww.Firefox() # вызываем подключенное, для наших целей и задач, окно веб-браузера.
elem = w.find_element_by_id('id')
elem.click() # вот мы по нему кликнули и, предположим, открылась новая страница
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question