From the course: Advanced Appium

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Web view automation in practice

Web view automation in practice - Appium Tutorial

From the course: Advanced Appium

Start my 1-month free trial

Web view automation in practice

- [Instructor] I've got my webview based app open here as well as a running Appium server. Let's write the code to automate the webview shown in this app. From a user's perspective, this is no ordinary web browser. If I try to navigate to any website other than Appium Pro I'll get an error. Let's try going to cloudgrey.io. Nope I'm not allowed to do that. However, with Appium we'll have full control over the webview so we'll be able to direct it wherever we want to go. Since this is the first time we're looking at code for this course let's have a bit of a tour. I have the code files open here in my editor and this is just a Java project that I've opened up in IntelliJ and you should be able to access it using any Java IDE that you like to use. Now, this is a Gradle based Java project so we define the project's dependencies in the build.gradle file. We have just two dependencies. Junit which is our test framework and…

Contents