mercredi 23 mai 2018

How do I check if an element is present on a webpage?

I'm using BrowserFactory in selenium and not WebDriver. I would like to check if an element is present on the DOM. If yes click it, otherwise do something else. There should be a simple solution to it but I'm not using WebDriver. If I do use it, it opens a new browser window and does everything in that.

Aucun commentaire:

Enregistrer un commentaire