How to switch to webview using Selenium chrome driver for testing chrome extensions on PC/chromebook

25 views
Skip to first unread message

Sastry K

unread,
Jun 14, 2017, 9:59:35 AM6/14/17
to Selenium Users

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?

Reply all
Reply to author
Forward
0 new messages