Development

I referred to one of the answers posted in this forum and when I attempted to run following code

NetworkConnection mobileDriver = (NetworkConnection) appiumDriver;
if (mobileDriver.getNetworkConnection() != ConnectionType.AIRPLANE_MODE) {
// enabling Airplane mode
mobileDriver.setNetworkConnection(ConnectionType.AIRPLANE_MODE);
}

I get following exception:

java.lang.ClassCastException: io.appium.java_client.ios.IOSDriver cannot be cast to org.openqa.selenium.mobile.NetworkConnection

Here is the link to the post which I had referred to How can I switch ON/OFF AIRPLANE mode and wifi using Appium?

Welcome to our ARIA Testing Tutorial! In the ever-evolving landscape of web development, creating accessible websites is more important than ever. ARIA, which stands for Accessible Rich Internet Applications, is a powerful set of attributes that can significantly enhance the accessibility of web content, especially for users relying on assistive technologies. This tutorial will guide…
The post ARIA Testing Tutorial: Enhance Web Accessibility in 2024 appeared first on Software Testing Material.

Yes, the title misspelling was an intentional attempt at punnery. It’s a compulsion, I’m sorry. I might have advised Adam…