From the course: Mobile Testing with Appium

Unlock the full course today

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

Mobile web testing: Practice

Mobile web testing: Practice - Selenium Tutorial

From the course: Mobile Testing with Appium

Start my 1-month free trial

Mobile web testing: Practice

- [Instructor] Okay, let's experiment with web automation in practice. I've loaded up the chapter five, 5_Mobile_Web_Before.Java file. This is a very empty file, emptier than the ones we've been looking at recently. What's changed? Well, first of all, there's nothing in our test logic yet. Secondly, in this example, we'll be working with a different driver class. Previously, we've been using something called Android driver. Now we're using something called RemoteWebDriver. This is a class provided by the Selenium web driver API, which the Appium client is built on top of. I'm using this class to demonstrate that, even with the plain old web driver class, that doesn't know anything about Appium or Mobile, we'll be able to successfully automate Safari. Finally, we don't have any DesiredCapabilities set, because that's the most important thing to build out, in this video. Let's go ahead and do that now. I'm going to initialize the session on iOS this time using Mobile Safari, because…

Contents