Skip to content

Commit bc9cd42

Browse files
authored
Merge pull request #46 from oriarieli/oarieli/display
change to WinAppDriver call to resolve ip issue
2 parents 76a2973 + 8fa4f75 commit bc9cd42

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tools/display.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -642,10 +642,7 @@ def _restore_hdr(self):
642642

643643
def _start_driver(self):
644644
"""Start WinAppDriver and connect with Root desktop session."""
645-
self._call(
646-
[(self.dut_exec_path + "\\WindowsApplicationDriver\\WinAppDriver.exe"),
647-
(self.dut_ip + " " + self.app_port)],
648-
blocking=False)
645+
self._call([(self.dut_exec_path + "\\WindowsApplicationDriver\\WinAppDriver.exe"), (self.dut_resolved_ip + " " + self.app_port + " /forcequit")], blocking=False)
649646
time.sleep(2)
650647
driver = self._launchApp({"app": "Root"})
651648
driver.implicitly_wait(10)

0 commit comments

Comments
 (0)