vendredi 3 avril 2015

Copying corresponding text in Selenium (python)

So I'm using Selenium with python 2.7. I'm pretty new with python and know less about webdev, so I apologize in advance if I use incorrect terms.


In the source of the page, this variable contains what I need...



var envConfig = {
devMode: false,
sessionTimeout: 14400,
sessionTimeoutWarningEnabled: true,
user: 'abc123@gmail.com'
}


Using selenium, is there any way that I would be able to copy the variable associated with "user"?





Aucun commentaire:

Enregistrer un commentaire