-
-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added get_current_package session #657
Conversation
@TikhomirovSergey @SrinivasanTarget pls review |
@saikrishna321 Hi. Thank you. I will review it ASAP. |
@@ -183,4 +183,8 @@ | |||
|
|||
} | |||
|
|||
@Test public void getCurrentPackage() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to getCurrentPackageTest()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -180,4 +181,8 @@ public void openNotifications() { | |||
public void toggleLocationServices() { | |||
CommandExecutionHelper.execute(this, toggleLocationServicesCommand()); | |||
} | |||
|
|||
public String getCurrentPackage() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to move this method to the io.appium.java_client.android.StartsActivity
interface and to make it default
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Change list
Appium 1.6.6 beta has a new endpoint for getting the currently running package during an Android test.
See appium/appium-base-driver@190a896
Re: appium/appium#8674
Types of changes
What types of changes are you proposing/introducing to Java client?
Put an
x
in the boxes that apply