mardi 28 mars 2017

Selenium WebDriver Page Event Listening

I am using the java selenium webdriver to create some web tests but the pages I must test are for the most part dynamically loaded. Luckily, events are triggered when certain content is loaded on the webpage.

I would like to detect these events using selenium webdriver but I do not think it is natively possible. I have checked out the doc for the EventFiringWebDriver but this looks like it will only work on selenium created events.

Should I make use of implicit waits instead?

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

Aucun commentaire:

Enregistrer un commentaire