Skip to content

Commit

Permalink
Sync files from main repository
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 11, 2024
1 parent 2f72226 commit 863f797
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cognisim/device/ios/ios_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ async def get_screenshot(self) -> bytes:
'''
screenshot: bytes = self.driver.get_screenshot_as_png()
return screenshot
async def navigate(self, package_name: str):
self.driver.activate_app(package_name)

async def capture_screenshot_with_bounding_box(self, bounds: dict, image_state: bytes = None) -> bytes:
"""
Expand Down

0 comments on commit 863f797

Please sign in to comment.