For our tests, we need to close browser tabs in Safari. Since we couldn't achieve this using Appium Library keywords, we created a custom keyword.
@keyword
def close_window(self):
"""
Closes the currently open browser tab.
"""
self.driver = self.get_current_driver().close()
If you approve this change, I can prepare a pull request for it.
For our tests, we need to close browser tabs in Safari. Since we couldn't achieve this using Appium Library keywords, we created a custom keyword.
If you approve this change, I can prepare a pull request for it.