Assuming that you are pushing in a reference to AppiumDriver into a variable that is of type RemoteWebDriver, you should be able to safely cast it back to AppiumDriver.
Can you please show some code snippets to help us get an idea of what your code looks like ?
The casting should additionally be guarded by an instanceof check as well.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ced7b2ea-7f1d-4d99-80e4-793db7f5b340%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.