mercredi 14 juin 2017

How to switch to webview using Selenium chrome driver for testing chrome extensions

While testing a chrome extension, there is a webview element where the data is getting loaded.

<webview style="width: 1366px; height: 597px;" name="ngog-web-view" tabindex="-1" src="https://news.google.com"></webview>

I was able to invoke the extension through selenium code and but was not able to get to that webview context.

Any pointers on tools and directions in this regard?

Aucun commentaire:

Enregistrer un commentaire