Skip to content

Commit

Permalink
Merge e7469a4 into 5af4652
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfe1 committed Nov 9, 2020
2 parents 5af4652 + e7469a4 commit 5eefac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zoomba/DesktopLibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def switch_application_by_name(self, remote_url, window_name, alias=None, timeou
"""
desired_caps = kwargs
desktop_session = self._open_desktop_session(remote_url)
window_xpath = '//*[contains(@Name, "' + window_name + '")]'
window_xpath = '//Window[contains(@Name, "' + window_name + '")]'
try:
if exact_match:
window = desktop_session.find_element_by_name(window_name)
Expand Down

0 comments on commit 5eefac5

Please sign in to comment.