I am using latest appium 1.6.5 and java - client : 5.0.0-BETA8
I was previously using driver.startActivity using app package and app activity (where were string arguments) and it was working as expected.
Now with above version - looks like all startActivity has been deprecated except driver.startActivity(appActivity) - where appActivity is of type Activity.
I have activity of type string and it throws class cast exception when I try to cast string to Activity.
How do i pass the appactivity of type activity ?