Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE_NOTES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 5.0.1
-------------
192. Google Maps: support newest version 26.02.16

Version 5.0.0
-------------
189. WhatsApp: Fix bugs + update support to 2.26.2.70
Expand Down
4 changes: 2 additions & 2 deletions puma/apps/android/google_maps/google_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TransportType(Enum):

@deprecated('This class does not use the Puma state machine, and will therefore not be maintained. ' +
'If you want to add functionality, please rewrite this class using StateGraph as the abstract base class.')
@supported_version("11.119.0101")
@supported_version("26.02.16")
class GoogleMapsActions(AndroidAppiumActions):
def __init__(self,
device_udid,
Expand Down Expand Up @@ -68,7 +68,7 @@ def start_navigation(self, search_string: str, transport_type: TransportType = T
self.driver.find_element(by=AppiumBy.XPATH, value=first_option).click()
mode_xpath = f'//android.widget.LinearLayout[starts-with(@content-desc, "{mode}")]'
self.driver.find_element(by=AppiumBy.XPATH, value=mode_xpath).click()
start_xpath = '//android.widget.Button[@content-desc="Start driving navigation"]'
start_xpath = '//android.widget.Button[starts-with(@content-desc, "Start")]'
for i in range(time_to_wait):
if self.is_present(start_xpath):
self.driver.find_element(by=AppiumBy.XPATH, value=start_xpath).click()
Expand Down
2 changes: 1 addition & 1 deletion puma/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "5.0.0"
version = "5.0.1"