vendredi 4 janvier 2019

Use information from view page source in automated test

Im trying to get some information from my page source. I run my automated tests on every release but want to avoid updating the release number manually as im trying to integrate my tests in CI and was hoping i could pull the tag from the page source.

All i know that works here is Drivers.getDriver.getPageSource but have no idea how to pull information.

The main issue im having is that the version is in 2 sections:

< meta http-equiv="version" content="1.4.39" >

I want to be able to take the 1.4.39 out of the page source and add to string

Aucun commentaire:

Enregistrer un commentaire