diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 0688f1bb..97b63bc8 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -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 diff --git a/puma/apps/android/google_maps/google_maps.py b/puma/apps/android/google_maps/google_maps.py index f47acebb..85c5e6d5 100644 --- a/puma/apps/android/google_maps/google_maps.py +++ b/puma/apps/android/google_maps/google_maps.py @@ -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, @@ -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() diff --git a/puma/version.py b/puma/version.py index 916c60d6..132e3b45 100644 --- a/puma/version.py +++ b/puma/version.py @@ -1 +1 @@ -version = "5.0.0" +version = "5.0.1"